parent
883c69d517
commit
a41e086d76
|
|
@ -32,4 +32,4 @@ import { something } from "@workshop/WHATEVER_YOU_WANT"
|
|||
|
||||
## How do I run the tests?
|
||||
|
||||
😂
|
||||
😂😂😂
|
||||
|
|
|
|||
|
|
@ -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}`)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user