update webapp sample

This commit is contained in:
InsanusMokrassar 2023-10-17 23:23:24 +06:00
parent f814b11777
commit 28301a92c9

View File

@ -52,8 +52,8 @@ suspend fun main(vararg args: String) {
}
) {
routing {
staticFiles("", File("WebApp/build/distributions")) {
default("WebApp/build/distributions/index.html")
staticFiles("", File("WebApp/build/dist/js/productionExecutable")) {
default("WebApp/build/dist/js/productionExecutable/index.html")
}
post("inline") {
val requestBody = call.receiveText()