From d6aef5ea316d2a2a82a8fac5ebd325f88ddf0ad3 Mon Sep 17 00:00:00 2001 From: Carlos Valente <34649812+cpvalente@users.noreply.github.com> Date: Thu, 14 Dec 2023 20:14:09 +0100 Subject: [PATCH] fix: correct link for CSS overrides (#650) --- apps/server/src/controllers/ontimeController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/server/src/controllers/ontimeController.ts b/apps/server/src/controllers/ontimeController.ts index a5a6d89a0..177d1bf5a 100644 --- a/apps/server/src/controllers/ontimeController.ts +++ b/apps/server/src/controllers/ontimeController.ts @@ -10,7 +10,7 @@ import { DataProvider } from '../classes/data-provider/DataProvider.js'; import { failEmptyObjects, failIsNotArray } from '../utils/routerUtils.js'; import { PlaybackService } from '../services/PlaybackService.js'; import { eventStore } from '../stores/EventStore.js'; -import { isDocker, pathToStartStyles, resolveDbPath } from '../setup.js'; +import { isDocker, resolveDbPath, resolveStylesPath } from '../setup.js'; import { oscIntegration } from '../services/integration-service/OscIntegration.js'; import { httpIntegration } from '../services/integration-service/HttpIntegration.js'; import { logger } from '../classes/Logger.js'; @@ -117,7 +117,7 @@ export const getInfo = async (req: Request, res: Response) => { // get nif and inject localhost const ni = getNetworkInterfaces(); ni.unshift({ name: 'localhost', address: '127.0.0.1' }); - const cssOverride = pathToStartStyles; + const cssOverride = resolveStylesPath; // send object with network information res.status(200).send({