diff --git a/server/services/server/utils/serverData.json b/server/services/server/utils/serverData.json index 93d9e31..c7f63a6 100644 --- a/server/services/server/utils/serverData.json +++ b/server/services/server/utils/serverData.json @@ -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\"}]", diff --git a/server/services/server/utils/settingsCheck.ts b/server/services/server/utils/settingsCheck.ts index 409b37c..9f83dc6 100644 --- a/server/services/server/utils/settingsCheck.ts +++ b/server/services/server/utils/settingsCheck.ts @@ -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(