Skip to content

Commit de09580

Browse files
committed
check again
1 parent 1d8e447 commit de09580

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/api.deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ jobs:
2626
uses: cloudflare/wrangler-action@v3
2727
env:
2828
COMULINE_ENV: production
29+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
30+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
2931
with:
3032
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3133
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ const app = api
5151
},
5252
}),
5353
)
54-
.get("/", (c) => c.redirect("/docs"))
5554
.get("/status", (c) => c.json({ status: "ok" }))
55+
.get("/", (c) => c.redirect("/docs"))
5656
.notFound(() => {
5757
throw new HTTPException(404, { message: "Not found" })
5858
})

0 commit comments

Comments
 (0)