remove environment from config.yml

This commit is contained in:
Milo Schwartz 2024-10-21 23:40:49 -04:00
parent a59c08fa6a
commit c7bbef5c05
4 changed files with 2 additions and 4 deletions

View file

@ -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();