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 {
|
||||
name = "emgauwa"
|
||||
baseUri = "package://emgauwa.app/pkl/\(name)"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
packageZipUrl = "https://emgauwa.app/pkl/\(name)@\(version).zip"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
module emgauwa.common
|
||||
|
||||
class ServerConfig {
|
||||
host: String
|
||||
port: UInt16
|
||||
token: String
|
||||
host: String?
|
||||
port: UInt16?
|
||||
token: String?
|
||||
}
|
||||
|
||||
/// Set to a user and a group to drop privileges to after binding to the port
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
amends "pkl:DocPackageInfo"
|
||||
|
||||
name = "Emgauwa"
|
||||
version = "0.2.3"
|
||||
version = "0.2.4"
|
||||
importUri = "https://emgauwa.app/"
|
||||
|
||||
sourceCode = "https://git.serguzim.me/emgauwa/pkl"
|
||||
|
|
|
|||
Loading…
Reference in a new issue