Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
abielzulio committed Nov 30, 2024
1 parent 840692a commit 55a51c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/api.deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: deploy --minify src/index.ts --name comuline-api
command: deploy -c wrangler.example.toml
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ const app = api
},
}),
)
.get("/", (c) => c.redirect("/docs"))
.get("/status", (c) => c.json({ status: "ok" }))
.get("/", (c) => c.redirect("/docs"))
.notFound(() => {
throw new HTTPException(404, { message: "Not found" })
})
Expand Down
5 changes: 1 addition & 4 deletions wrangler.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ main = "src/index.ts"
minify = true

[limits]
cpu_ms = 30000



cpu_ms = 30000

0 comments on commit 55a51c9

Please # to comment.