mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-07 06:57:39 +03:00
Fix listen address
This commit is contained in:
parent
ebbdd7185f
commit
008924fff8
1 changed files with 1 additions and 1 deletions
|
@ -210,6 +210,6 @@ async fn main() -> tide::Result<()> {
|
|||
// Default service in case no routes match
|
||||
app.at("*").get(|_| utils::error("Nothing here".to_string()));
|
||||
|
||||
app.listen("127.0.0.1:8080").await?;
|
||||
app.listen(address).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue