mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-03 01:24:58 +02:00
clean up environment and paths
This commit is contained in:
parent
327175a799
commit
db76769fb7
7 changed files with 16 additions and 25 deletions
|
@ -11,8 +11,8 @@ import external from "@server/routers/external";
|
|||
const dev = environment.ENVIRONMENT !== "prod";
|
||||
const app = next({ dev });
|
||||
const handle = app.getRequestHandler();
|
||||
const mainPort = 3000;
|
||||
const internalPort = 3001;
|
||||
const mainPort = environment.EXTERNAL_PORT;
|
||||
const internalPort = environment.INTERNAL_PORT;
|
||||
|
||||
app.prepare().then(() => {
|
||||
// Main server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue