mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-02 02:14:36 -05:00
add fatJar
This commit is contained in:
@@ -37,7 +37,12 @@ class Main {
|
||||
|
||||
|
||||
|
||||
val app = Javalin.create().start(4567)
|
||||
val app = Javalin.create { config ->
|
||||
// config.addSinglePageRoot("/", "")
|
||||
config.addStaticFiles("/react")
|
||||
}.start(4567)
|
||||
|
||||
|
||||
|
||||
app.before() { ctx ->
|
||||
// allow the client which is running on another port
|
||||
|
||||
Reference in New Issue
Block a user