clean up environment and paths

This commit is contained in:
Milo Schwartz 2024-09-29 21:09:35 -04:00
parent 327175a799
commit db76769fb7
No known key found for this signature in database
7 changed files with 16 additions and 25 deletions

View file

@ -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