mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-10 20:02:26 +00:00
clean up environment and paths
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user