feat(new server): added mcd to the server setup
This commit is contained in:
@@ -153,7 +153,7 @@
|
|||||||
"contactPhone": "6366970253",
|
"contactPhone": "6366970253",
|
||||||
"customerTiAcc": "ALPL01MCDINT",
|
"customerTiAcc": "ALPL01MCDINT",
|
||||||
"lstServerPort": "4000",
|
"lstServerPort": "4000",
|
||||||
"active": false,
|
"active": true,
|
||||||
"serverLoc": "E:\\LST\\lstv2",
|
"serverLoc": "E:\\LST\\lstv2",
|
||||||
"oldVersion": "E:\\LST\\lst_backend",
|
"oldVersion": "E:\\LST\\lst_backend",
|
||||||
"shippingHours": "[{\"early\": \"06:30\", \"late\": \"23:00\"}]",
|
"shippingHours": "[{\"early\": \"06:30\", \"late\": \"23:00\"}]",
|
||||||
|
|||||||
@@ -175,6 +175,22 @@ const newSettings = [
|
|||||||
roles: "admin",
|
roles: "admin",
|
||||||
module: "ocp",
|
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 () => {
|
export const areSettingsIn = async () => {
|
||||||
// get the roles
|
// get the roles
|
||||||
@@ -192,7 +208,7 @@ export const areSettingsIn = async () => {
|
|||||||
"info",
|
"info",
|
||||||
"lst",
|
"lst",
|
||||||
"server",
|
"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) {
|
} catch (error) {
|
||||||
createLog(
|
createLog(
|
||||||
|
|||||||
Reference in New Issue
Block a user