chore: remove app parameter from AppService invocation

This commit is contained in:
Danny Avila 2025-08-18 00:27:07 -04:00
parent 0e0758edaf
commit 370e2d7ade
No known key found for this signature in database
GPG key ID: BF31EEB2C5CA0956

View file

@ -46,7 +46,7 @@ const startServer = async () => {
app.disable('x-powered-by'); app.disable('x-powered-by');
app.set('trust proxy', trusted_proxy); app.set('trust proxy', trusted_proxy);
await AppService(app); await AppService();
const appConfig = await getAppConfig(); const appConfig = await getAppConfig();
const indexPath = path.join(appConfig.paths.dist, 'index.html'); const indexPath = path.join(appConfig.paths.dist, 'index.html');
const indexHTML = fs.readFileSync(indexPath, 'utf8'); const indexHTML = fs.readFileSync(indexPath, 'utf8');