mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 17:14:55 +02:00
remove environment from config.yml
This commit is contained in:
parent
d54cf34377
commit
1c4608fbf4
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