mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 09:05:49 +02:00
Merge branch 'main' of https://github.com/fosrl/pangolin
This commit is contained in:
commit
cf1de2253b
9 changed files with 75 additions and 66 deletions
|
@ -14,6 +14,7 @@ import internal from "@server/routers/internal";
|
|||
import { authenticated, unauthenticated } from "@server/routers/external";
|
||||
import cookieParser from "cookie-parser";
|
||||
import { User } from "@server/db/schema";
|
||||
import { ensureActions } from "./db/ensureActions";
|
||||
|
||||
const dev = config.app.environment !== "prod";
|
||||
|
||||
|
@ -25,6 +26,8 @@ const internalPort = config.server.internal_port;
|
|||
|
||||
app.prepare().then(() => {
|
||||
|
||||
ensureActions(); // This loads the actions into the database
|
||||
|
||||
// External server
|
||||
const externalServer = express();
|
||||
externalServer.set("trust proxy", 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue