We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ba6105 commit e669011Copy full SHA for e669011
src/main.rs
@@ -15,11 +15,6 @@ async fn main() {
15
async fn start() -> anyhow::Result<()> {
16
let app_config = app_config::load()?;
17
log::debug!("Starting with the following configuration: {app_config:?}");
18
- std::env::set_current_dir(&app_config.web_root)?;
19
- log::info!(
20
- "Set the working directory to {}",
21
- app_config.web_root.display()
22
- );
23
let state = AppState::init(&app_config).await?;
24
webserver::database::migrations::apply(&state.db).await?;
25
log::info!("Starting server on {}", app_config.listen_on);
0 commit comments