mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-25 23:48:21 -05:00
🚨 fix(build): make the cargo build check happy (#486)
This commit is contained in:
parent
ee4322e95e
commit
7d9291449e
@ -12,7 +12,7 @@ async fn spawn_app() -> String {
|
|||||||
let port = listener.local_addr().unwrap().port();
|
let port = listener.local_addr().unwrap().port();
|
||||||
let config = CONFIG.get_or_init(|| Config::parse(false).unwrap());
|
let config = CONFIG.get_or_init(|| Config::parse(false).unwrap());
|
||||||
let cache = websurfx::cache::cacher::create_cache(config).await;
|
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);
|
tokio::spawn(server);
|
||||||
format!("http://127.0.0.1:{}/", port)
|
format!("http://127.0.0.1:{}/", port)
|
||||||
|
Loading…
Reference in New Issue
Block a user