We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d8e447 commit de09580Copy full SHA for de09580
.github/workflows/api.deploy.yml
@@ -26,6 +26,8 @@ jobs:
26
uses: cloudflare/wrangler-action@v3
27
env:
28
COMULINE_ENV: production
29
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
30
+ CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
31
with:
32
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
33
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
src/index.ts
@@ -51,8 +51,8 @@ const app = api
51
},
52
}),
53
)
54
- .get("/", (c) => c.redirect("/docs"))
55
.get("/status", (c) => c.json({ status: "ok" }))
+ .get("/", (c) => c.redirect("/docs"))
56
.notFound(() => {
57
throw new HTTPException(404, { message: "Not found" })
58
})
0 commit comments