mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-02 09:05:49 +02:00
Add two servers
This commit is contained in:
parent
db3ce357df
commit
f8ed090a83
5 changed files with 60 additions and 25 deletions
|
@ -6,6 +6,7 @@ const environmentSchema = z.object({
|
|||
LOG_LEVEL: z.string(),
|
||||
SAVE_LOGS: z.string().transform((val) => val === "true"),
|
||||
PORT: z.string(),
|
||||
INTERNAL_PORT: z.string(),
|
||||
CONFIG_PATH: z.string(),
|
||||
API_VERSION: z.string(),
|
||||
});
|
||||
|
@ -15,6 +16,7 @@ const environment = {
|
|||
LOG_LEVEL: (process.env.LOG_LEVEL as string) || "debug",
|
||||
SAVE_LOGS: (process.env.SAVE_LOGS as string) || "false",
|
||||
PORT: (process.env.PORT as string) || "3000",
|
||||
INTERNAL_PORT: (process.env.INTERNAL_PORT as string) || "3001",
|
||||
CONFIG_PATH: process.env.CONFIG_PATH as string,
|
||||
API_VERSION: process.env.API_VERSION as string,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue