From: Johann150 <
johann@qwertqwefsday.eu>
---
src/main.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main.rs b/src/main.rs
index 26ba66a..33d1afe 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -482,6 +482,6 @@ async fn main() -> Result<(), std::io::Error> {
app.at("/:repo_name/tree/:ref/item/:object_name")
.get(repo_file);
// Raw files, patch files
- app.listen("127.0.0.1:8081").await?;
+ app.listen(format!("[::]:{}", CONFIG.port)).await?;
Ok(())
}
--
2.20.1