We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e067df commit 17b3923Copy full SHA for 17b3923
model-server/src/main/kotlin/org/modelix/model/server/Main.kt
@@ -236,7 +236,9 @@ object Main {
236
routing {
237
HealthApiImpl(repositoriesManager).installRoutes(this)
238
AboutApiImpl.installRoutes(this)
239
- LionwebApiImpl(repositoriesManager).installRoutes(this)
+ if (System.getenv("MODELIX_LIONWEB_API_ENABLED").toBoolean()) {
240
+ LionwebApiImpl(repositoriesManager).installRoutes(this)
241
+ }
242
staticResources("/public", "public")
243
244
if (cmdLineArgs.noSwaggerUi) {
0 commit comments