mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-09 09:23:51 +00:00
refactor: expose public dir
This commit is contained in:
committed by
Carlos Valente
parent
82810f1cb1
commit
dd13eb31d8
@@ -1,7 +1,7 @@
|
||||
import { GetInfo, SessionStats } from 'ontime-types';
|
||||
|
||||
import { getDataProvider } from '../../classes/data-provider/DataProvider.js';
|
||||
import { publicFiles } from '../../setup/index.js';
|
||||
import { publicDir } from '../../setup/index.js';
|
||||
import { getNetworkInterfaces } from '../../utils/networkInterfaces.js';
|
||||
import { socket } from '../../adapters/WebsocketAdapter.js';
|
||||
import { getLastRequest } from '../../api-integration/integration.controller.js';
|
||||
@@ -44,6 +44,6 @@ export async function getInfo(): Promise<GetInfo> {
|
||||
version,
|
||||
serverPort,
|
||||
osc,
|
||||
cssOverride: publicFiles.cssOverride,
|
||||
publicDir: publicDir.root,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user