We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9a7760 commit bd74803Copy full SHA for bd74803
src/server.ts
@@ -71,7 +71,9 @@ const app = new Hono();
71
app.use(
72
// enable CORS
73
cors({
74
- origin: isProdEnv ? appConfig.url : "https://localhost:3000",
+ origin: isProdEnv
75
+ ? [appConfig.url, "https://backfeed-app-prerelease.up.railway.app"]
76
+ : "https://localhost:3000",
77
credentials: true,
78
allowMethods: ["GET", "POST"],
79
}),
0 commit comments