feat: ship Wave 5-6 multi-surface hygiene, optimization, and bug fixes

This commit is contained in:
Yun Chan 2026-11-14 11:51:41 +09:00
parent 01ef3293cf
commit 66b6b45ba9
399 changed files with 17828 additions and 11330 deletions

View file

@ -1,4 +1,4 @@
import { corsHeaders } from '../_shared/cors.ts'
import { createJsonResponder } from '../_shared/json-response.ts'
import { createServiceRoleClient } from '../_shared/quota.ts'
import {
AdMobSsvError,
@ -7,12 +7,7 @@ import {
verifyAdMobCallback,
} from '../_shared/admob-ssv.ts'
function jsonResponse(body: Record<string, unknown>, status = 200): Response {
return new Response(JSON.stringify(body), {
status,
headers: { ...corsHeaders, 'Content-Type': 'application/json' },
})
}
const jsonResponse = createJsonResponder()
Deno.serve(async (req: Request) => {
if (req.method !== 'GET') return jsonResponse({ error: 'method_not_allowed' }, 405)