diff --git a/packages/api/src/worker.ts b/packages/api/src/worker.ts index 8797e774b..e8cc75567 100644 --- a/packages/api/src/worker.ts +++ b/packages/api/src/worker.ts @@ -15,7 +15,7 @@ const app = new Hono<{ Bindings: Bindings }>() // Setup CORS for the frontend app.use('/trpc/*', async (c, next) => { if (c.env.APP_URL === undefined) { - console.log('APP_URL is not set. CORS errors may occur.') + console.log('APP_URL is not set. CORS errors may occur. Make sure the .dev.vars file is present at /packages/api/.dev.vars') } return await cors({ origin: [c.env.APP_URL],