Улучшение поддержки reverse-proxy,

в конфиг добавлены параметры server.root и opds.root для встраивания inpx-web в уже существующий веб-сервер
This commit is contained in:
Book Pauk
2022-12-04 17:24:33 +07:00
parent 10b10f695a
commit d970863a17
3 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ module.exports = function(app, config) {
if (!config.opds || !config.opds.enabled)
return;
const opdsRoot = '/opds';
const opdsRoot = config.opds.root || '/opds';
config.opdsRoot = opdsRoot;
const root = new RootPage(config);