aggreact/dev.dhall
Yann Esposito (Yogsototh) 70754f81d7
register html
2019-01-27 19:30:18 +01:00

20 lines
No EOL
390 B
Text

{-
Aggreact Configuration File
-}
let SQLiteConfig : Type = { filepath : Text }
let PostgresConfig
: Type
= { host : Text, port : Natural, user : Text, password : Text }
let DBConf : Type = < SQLite : SQLiteConfig | Postgre : PostgresConfig >
in { port =
3000
, jwtKeyFilePath =
"jwt.key"
, db =
DBConf.SQLite { filepath = "aggreact.db" }
}