mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI-examples.git
synced 2024-11-26 03:58:49 +00:00
update webapp sample
This commit is contained in:
parent
f814b11777
commit
28301a92c9
@ -52,8 +52,8 @@ suspend fun main(vararg args: String) {
|
|||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
routing {
|
routing {
|
||||||
staticFiles("", File("WebApp/build/distributions")) {
|
staticFiles("", File("WebApp/build/dist/js/productionExecutable")) {
|
||||||
default("WebApp/build/distributions/index.html")
|
default("WebApp/build/dist/js/productionExecutable/index.html")
|
||||||
}
|
}
|
||||||
post("inline") {
|
post("inline") {
|
||||||
val requestBody = call.receiveText()
|
val requestBody = call.receiveText()
|
||||||
|
Loading…
Reference in New Issue
Block a user