add fatJar

This commit is contained in:
Aria Moradi
2021-01-20 03:05:40 +03:30
parent a7e63565ef
commit ace471abdb
6 changed files with 78 additions and 3 deletions
@@ -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