mirror of
https://github.com/RGBCube/Site
synced 2025-07-31 13:07:46 +00:00
Bind to localhost, don't expose self
This commit is contained in:
parent
97eb3e5d25
commit
8eca91853c
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
.format_timestamp(None)
|
||||
.init();
|
||||
|
||||
let address = SocketAddr::new("::".parse().unwrap(), args.port);
|
||||
let address = SocketAddr::new("::1".parse().unwrap(), args.port);
|
||||
|
||||
let router = Router::new()
|
||||
.merge(routes::router())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue