Skip to content

Commit

Permalink
Fix launching 2nd app instance through http fails
Browse files Browse the repository at this point in the history
  • Loading branch information
sghpjuikit committed Jan 19, 2025
1 parent 28cab02 commit ead19d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player/main/sp/it/pl/main/AppInstanceCom.kt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AppInstanceCom() {
val onNewInstanceHandlers = Handler1<List<String>>()

fun start() {
APP.http.serverRoutes route AppHttp.Handler(api) {
APP.http.serverRoutes route AppHttp.Handler(api, method = "POST") {
newInstanceLaunched(it.requestBodyAsJs().to<List<String>>())
}
}
Expand Down

0 comments on commit ead19d5

Please sign in to comment.