Executable embedding ok

This commit is contained in:
Claude Brisson
2023-05-14 12:03:42 +02:00
parent 42ad283ee6
commit cbdf336a1c
3 changed files with 8 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ class ApiServlet : HttpServlet() {
}
if (payload != null) {
try {
logger.logPayload(green(">> "), payload, false)
logger.logPayload(">> ", payload, false)
} catch (ioe: IOException) {
}
}

View File

@@ -55,7 +55,7 @@ class WebappManager : ServletContextListener, ServletContextAttributeListener, H
context.setAttribute("manager", this)
webappRoot = context.getRealPath("/")
try {
properties.load(context.getResourceAsStream("/WEB-INF/webapp.properties"))
properties.load(context.getResourceAsStream("/WEB-INF/pairgoth.properties"))
val submaps: MutableMap<String, MutableMap<String, String>> = HashMap()
for (prop in properties.stringPropertyNames()) {
val value = properties.getProperty(prop)