feat(new server): added mcd to the server setup

This commit is contained in:
2025-04-01 16:23:13 -05:00
parent 053c05c1a7
commit f481197d6e
2 changed files with 18 additions and 2 deletions

View File

@@ -153,7 +153,7 @@
"contactPhone": "6366970253",
"customerTiAcc": "ALPL01MCDINT",
"lstServerPort": "4000",
"active": false,
"active": true,
"serverLoc": "E:\\LST\\lstv2",
"oldVersion": "E:\\LST\\lst_backend",
"shippingHours": "[{\"early\": \"06:30\", \"late\": \"23:00\"}]",

View File

@@ -175,6 +175,22 @@ const newSettings = [
roles: "admin",
module: "ocp",
},
{
name: "v1SysServer",
value: `localhost`,
description:
"The remaining v1 stuff here until we finish the frontend here.",
serviceBelowsTo: "system",
roleToChange: "admin",
},
{
name: "v1SysPort",
value: `4000`,
description:
"The remaining v1 stuff here until we finish the frontend here.",
serviceBelowsTo: "system",
roleToChange: "admin",
},
];
export const areSettingsIn = async () => {
// get the roles
@@ -192,7 +208,7 @@ export const areSettingsIn = async () => {
"info",
"lst",
"server",
"Settingss were just added due to missing them on server startup"
"Settings were just added due to missing them on server startup"
);
} catch (error) {
createLog(