1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +00:00

Bind to localhost, don't expose self

This commit is contained in:
RGBCube 2024-01-12 12:41:38 +03:00
parent 97eb3e5d25
commit 8eca91853c
No known key found for this signature in database

View file

@ -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())