Default sandalone profile
This commit is contained in:
@@ -68,6 +68,8 @@ private fun readProperties() {
|
|||||||
if (properties.exists()) {
|
if (properties.exists()) {
|
||||||
serverProps.load(FileReader(properties))
|
serverProps.load(FileReader(properties))
|
||||||
}
|
}
|
||||||
|
val env = if (File("./pom.xml").exists()) "dev" else "prod"
|
||||||
|
serverProps["env"] = env
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun publishProperties() {
|
private fun publishProperties() {
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
mode = standalone
|
mode = standalone
|
||||||
env = prod
|
|
||||||
# webapp connector
|
# webapp connector
|
||||||
webapp.protocol = http
|
webapp.protocol = http
|
||||||
webapp.interface = localhost
|
webapp.interface = localhost
|
||||||
|
Reference in New Issue
Block a user