Skip to content

Commit

Permalink
Merge pull request #121 from janwirth/fix-vc-dirty-tree
Browse files Browse the repository at this point in the history
Fix formatting causing version control change
  • Loading branch information
timothymiller authored Nov 30, 2023
2 parents 5a5317d + 4dd2fcf commit c4b198a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/api/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ 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. Make sure the .dev.vars file is present at /packages/api/.dev.vars')
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],
Expand Down

0 comments on commit c4b198a

Please sign in to comment.