Refactor project

This commit is contained in:
Tobias Reisinger 2026-07-19 21:01:32 +02:00
commit f09bfe9db3
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
12 changed files with 77 additions and 70 deletions

View file

@ -1,17 +1,14 @@
amends "./emgauwa/core.pkl"
module emgauwa.core
server {
host = "127.0.0.1"
port = 4419
}
import "./common.pkl"
database = "sqlite://emgauwa-core.sqlite"
server: common.ServerConfig
permissions {
user = "" // read("env:USER")
group = "" // read("env:USER")
}
database: String
logging {
level = "INFO"
}
permissions: common.PermissionsConfig
logging: common.LoggingConfig
/// Leave empty to allow all origins (will always respond with Origin and not "*")
origins: Listing<String>