Skip to content

Commit

Permalink
v1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ToberoCat committed Sep 30, 2023
1 parent f4b7697 commit dbdbcb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.toberocat</groupId>
<artifactId>gui-engine</artifactId>
<version>1.4.0</version>
<version>1.4.1</version>
<packaging>jar</packaging>
<properties>
<maven.compiler.source>16</maven.compiler.source>
Expand All @@ -22,7 +22,7 @@
<toberocore.version>0f2d094899</toberocore.version>
<kotlin.version>1.9.10</kotlin.version>
<org.slf4j.version>1.7.5</org.slf4j.version>

<!-- Server Location. Set as run arg -->
<server.location>.</server.location>
</properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class GuiEngineApiController : Controller {
getRequest("/guis/:api") { GuiEngineApi.APIS[it.params("api")]?.getAvailableGuis() ?: emptySet() }
Spark.get("/guis/:api/:gui") { req, res ->
res.type("application/xml")
return@get """<?xml version="1.0" encoding="UTF-8"?>\n${getXmlGui(req.params("api"), req.params("gui"))}"""
return@get getXmlGui(req.params("api"), req.params("gui"))
}
}

Expand Down

0 comments on commit dbdbcb5

Please sign in to comment.