0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 22:18:23 -05:00

Compare commits

..

1 Commits

Author SHA1 Message Date
neon_arch
19cb1fc530
Merge ee4322e95e into 8d9b660eb1 2024-03-06 19:08:11 +00:00

View File

@ -12,7 +12,7 @@ async fn spawn_app() -> String {
let port = listener.local_addr().unwrap().port();
let config = CONFIG.get_or_init(|| Config::parse(false).unwrap());
let cache = websurfx::cache::cacher::create_cache(config).await;
let server = run(listener, &config, cache).expect("Failed to bind address");
let server = run(listener, config, cache).expect("Failed to bind address");
tokio::spawn(server);
format!("http://127.0.0.1:{}/", port)