mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-02-01 08:24:19 +01:00
Serve webui on all unmatched routes (#1156)
with "/root" only "http:localhost:4567" opened the webui all other endpoints resulted in "Endpoint GET /endpoint not found"
This commit is contained in:
@@ -43,7 +43,7 @@ object JavalinSetup {
|
||||
Javalin.create { config ->
|
||||
if (serverConfig.webUIEnabled.value) {
|
||||
val serveWebUI = {
|
||||
config.spaRoot.addFile("/root", applicationDirs.webUIRoot + "/index.html", Location.EXTERNAL)
|
||||
config.spaRoot.addFile("/", applicationDirs.webUIRoot + "/index.html", Location.EXTERNAL)
|
||||
}
|
||||
WebInterfaceManager.setServeWebUI(serveWebUI)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user