Still figuring out why axum won't start
This commit is contained in:
parent
29dca09ac7
commit
eb93eb34b7
2 changed files with 3 additions and 3 deletions
4
api/.env
4
api/.env
|
@ -1,7 +1,7 @@
|
|||
HOSTNAME=localhost
|
||||
PORT=42068
|
||||
PORT=42069
|
||||
DOMAIN=http://api.debtpirate.app
|
||||
RP_ID=debtpirate.app
|
||||
RP_ID=api.debtpirate.app
|
||||
TOKEN_KEY=k4.local.hWoS2ZulK9xPEATtXH1Dvj_iynzqfUv5ER5_IFTg5-Q
|
||||
DATABASE_URL=postgres://debt_pirate:HRURqlUmtjIy@192.168.122.251/debt_pirate
|
||||
ASSETS_DIR=/home/zcdziura/Documents/Projects/debt-pirate/api/assets
|
||||
|
|
|
@ -66,8 +66,8 @@ pub async fn start_app(pool: DbPool, env: Environment) -> Result<(), AppError> {
|
|||
|
||||
axum::serve(listener, app)
|
||||
.await
|
||||
.inspect(|_| println!("Application started successfully."))
|
||||
.map_err(AppError::app_startup)?;
|
||||
|
||||
println!("Application started successfully.");
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue