mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-29 22:19:31 +02:00
remove environment from config.yml
This commit is contained in:
parent
a59c08fa6a
commit
c7bbef5c05
4 changed files with 2 additions and 4 deletions
|
@ -16,7 +16,7 @@ import cookieParser from "cookie-parser";
|
|||
import { User } from "@server/db/schema";
|
||||
import { ensureActions } from "./db/ensureActions";
|
||||
|
||||
const dev = config.app.environment !== "prod";
|
||||
const dev = process.env.ENVIRONMENT !== "prod";
|
||||
|
||||
const app = next({ dev });
|
||||
const handle = app.getRequestHandler();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue