Add settings and constants
This commit is contained in:
parent
e419923939
commit
ee68405874
6 changed files with 26 additions and 8 deletions
emgauwa-core/src
|
@ -23,6 +23,7 @@ async fn main() -> std::io::Result<()> {
|
|||
|
||||
let pool = emgauwa_lib::db::init(&settings.database).await;
|
||||
|
||||
log::info!("Starting server on {}:{}", settings.host, settings.port);
|
||||
HttpServer::new(move || {
|
||||
App::new()
|
||||
.wrap(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue