Refactor project
This commit is contained in:
parent
6c75b0ab72
commit
f09bfe9db3
12 changed files with 77 additions and 70 deletions
23
core.pkl
23
core.pkl
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue