bug fix for fly server
This commit is contained in:
parent
b3dcec17c0
commit
0defbfea5a
10 changed files with 33 additions and 21 deletions
|
|
@ -1,2 +1,3 @@
|
|||
#DB_ASSIGNMENT_SERVICE_URL = "http://localhost:3000"
|
||||
DB_ASSIGNMENT_SERVICE_URL = "http://db-assignment-service.internal:3000"
|
||||
NODE_PORT = 8080
|
||||
|
|
@ -3,4 +3,4 @@ NODE_ENV=development
|
|||
DB_ASSIGNMENT_SERVICE_URL="http://localhost:3200"
|
||||
AUTH_SESSION_KEY="f3f4d8e6b17a4b3abdc8e9a2c0457aaf91c0d5f6e3b7a9c8df624bd71ea35f42"
|
||||
ACCEPTED_ORIGINS=http://localhost:3000,http://localhost:8081,http://localhost:3001,http://localhost:5173
|
||||
PORT=8082
|
||||
NODE_PORT=8082
|
||||
|
|
@ -3,4 +3,4 @@ NODE_ENV=development
|
|||
DB_ASSIGNMENT_SERVICE_URL="http://js-assignment-db-service:3200"
|
||||
AUTH_SESSION_KEY="f3f4d8e6b17a4b3abdc8e9a2c0457aaf91c0d5f6e3b7a9c8df624bd71ea35f42"
|
||||
ACCEPTED_ORIGINS=http://localhost:3000,http://localhost:8081,http://localhost:3001,http://localhost:5173
|
||||
PORT=8082
|
||||
NODE_PORT=8082
|
||||
|
|
@ -39,5 +39,5 @@ app.use(cors());
|
|||
app.use("/instructor", instructorRouter);
|
||||
app.use("/student", studentRouter);
|
||||
|
||||
const port = process.env.PORT || 8080;
|
||||
const port = process.env.NODE_PORT || 8080;
|
||||
app.listen(port, () => console.log(`Listening on port ${port}...`));
|
||||
Loading…
Add table
Add a link
Reference in a new issue