We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f7bc89 commit 1d8e447Copy full SHA for 1d8e447
.github/workflows/api.deploy.yml
@@ -19,9 +19,13 @@ jobs:
19
20
- name: Build package
21
run: bun run build
22
+ env:
23
+ COMULINE_ENV: production
24
25
- name: Deploy to Cloudflare Workers
26
uses: cloudflare/wrangler-action@v3
27
28
29
with:
30
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
31
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
src/index.ts
@@ -6,6 +6,7 @@ import { HTTPException } from "hono/http-exception"
6
import { constructResponse } from "./utils/response"
7
import { trimTrailingSlash } from "hono/trailing-slash"
8
import { cors } from "hono/cors"
9
+
10
const api = createAPI()
11
12
const app = api
0 commit comments