mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-22 19:30:15 +01:00
chore: remove app parameter from AppService invocation
This commit is contained in:
parent
0e0758edaf
commit
370e2d7ade
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue