Make server config properties optional

This commit is contained in:
Tobias Reisinger 2026-08-30 22:46:43 +02:00
commit 838f893938
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 5 additions and 5 deletions

View file

@ -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"
}

View file

@ -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

View file

@ -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"