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 1606008 commit 1b88261Copy full SHA for 1b88261
server/src/index.ts
@@ -17,7 +17,7 @@ const app = express();
17
// https://expressjs.com/ja/api.html#app.settings.table の query parser を参照。
18
app.set("query parser", "simple");
19
20
-const port = 3000;
+const port = process.env.PORT || 3000;
21
const allowedOrigins = (
22
process.env.CORS_ALLOW_ORIGINS || panic("env CORS_ALLOW_ORIGINS is missing")
23
)
0 commit comments