Initial commit

This commit is contained in:
2026-04-17 23:26:01 +00:00
commit 2ea4ca5d52
409 changed files with 63459 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import { handleFcmPush } from './fcmPush.ts'
const port = Number(Deno.env.get('SIDECAR_PORT') ?? '8091')
Deno.serve({ port }, (req: Request) => {
const url = new URL(req.url)
if (req.method === 'POST' && url.pathname === '/notify') {
return handleFcmPush(req)
}
return new Response('Not Found', { status: 404 })
})