View webapp structure is ready

This commit is contained in:
Claude Brisson
2023-06-09 08:32:22 +02:00
parent 2766b7a0f3
commit 3aae2f7221
7 changed files with 66 additions and 37 deletions

View File

@@ -49,9 +49,7 @@ private fun extractWarFiles() {
private fun launchServer() {
// create server
val server = Server(8080)
server.start()
server.join()
val server = Server(8080) // CB TODO port is to be calculated from webapp.url
// create webapps contexts
val apiContext = createContext("api", "/api");