yes
Some checks failed
CI / test (pull_request) Has been cancelled

This commit is contained in:
Corey Johnson 2025-11-07 10:31:37 -08:00
parent 883c69d517
commit a41e086d76
2 changed files with 10 additions and 3 deletions

View File

@ -32,4 +32,4 @@ import { something } from "@workshop/WHATEVER_YOU_WANT"
## How do I run the tests?
😂
😂😂😂

View File

@ -6,7 +6,14 @@ const server = serve({
"/": async () => {
return new Response("🌵")
},
"/auth": async () => {
"/webhook/gitea": {
POST: async (req) => {
const payload = await req.json()
console.log("Received webhook:", JSON.stringify(payload, null, 2))
return new Response("OK", { status: 200 })
},
},
"/discord/auth": async () => {
const html = (
<html>
<body>
@ -24,4 +31,4 @@ const server = serve({
development: process.env.NODE_ENV !== "production" && { hmr: true, console: true },
})
console.log(`Todo running at ${server.url}:${server.port}`)
console.log(`Spike running at ${server.url}:${server.port}`)