Skip to content

Commit a622d37

Browse files
committed
feat(dev): add gateway bindings to local dev
1 parent 50b4fb4 commit a622d37

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • apps/cloudflare-workers/src

apps/cloudflare-workers/src/dev.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ const devEnv = {
6464
AUTH_DB_URL: `file:${DB_PATH}`,
6565
JWT_ACCESS_SECRET: "dev-access-secret-do-not-use-in-production",
6666
JWT_REFRESH_SECRET: "dev-refresh-secret-do-not-use-in-production",
67+
GATEWAY_URL: "http://127.0.0.1:18789",
68+
GATEWAY_TOKEN: process.env.GATEWAY_TOKEN ?? "",
6769
};
6870

6971
const executionCtx: ExecutionContext = {

0 commit comments

Comments
 (0)