Make server config properties optional
This commit is contained in:
parent
c3c65493b7
commit
838f893938
3 changed files with 5 additions and 5 deletions
|
|
@ -3,6 +3,6 @@ amends "pkl:Project"
|
||||||
package {
|
package {
|
||||||
name = "emgauwa"
|
name = "emgauwa"
|
||||||
baseUri = "package://emgauwa.app/pkl/\(name)"
|
baseUri = "package://emgauwa.app/pkl/\(name)"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
packageZipUrl = "https://emgauwa.app/pkl/\(name)@\(version).zip"
|
packageZipUrl = "https://emgauwa.app/pkl/\(name)@\(version).zip"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
module emgauwa.common
|
module emgauwa.common
|
||||||
|
|
||||||
class ServerConfig {
|
class ServerConfig {
|
||||||
host: String
|
host: String?
|
||||||
port: UInt16
|
port: UInt16?
|
||||||
token: String
|
token: String?
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Set to a user and a group to drop privileges to after binding to the port
|
/// Set to a user and a group to drop privileges to after binding to the port
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
amends "pkl:DocPackageInfo"
|
amends "pkl:DocPackageInfo"
|
||||||
|
|
||||||
name = "Emgauwa"
|
name = "Emgauwa"
|
||||||
version = "0.2.3"
|
version = "0.2.4"
|
||||||
importUri = "https://emgauwa.app/"
|
importUri = "https://emgauwa.app/"
|
||||||
|
|
||||||
sourceCode = "https://git.serguzim.me/emgauwa/pkl"
|
sourceCode = "https://git.serguzim.me/emgauwa/pkl"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue