Skip to content
Merged

port #550

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const app = express();
// https://expressjs.com/ja/api.html#app.settings.table の query parser を参照。
app.set("query parser", "simple");

const port = 3000;
const port = process.env.PORT || 3000;
const allowedOrigins = (
process.env.CORS_ALLOW_ORIGINS || panic("env CORS_ALLOW_ORIGINS is missing")
)
Expand Down
Loading