mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-11-01 15:05:06 +01:00
fix SPA urls
This commit is contained in:
parent
a3b17365b7
commit
5cbb2a0481
@ -40,6 +40,7 @@ class Main {
|
||||
try {
|
||||
this::class.java.classLoader.getResource("/react/index.html")
|
||||
config.addStaticFiles("/react")
|
||||
config.addSinglePageRoot("/","/react/index.html")
|
||||
} catch (e: RuntimeException) {
|
||||
println("Warning: react build files are missing.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user