Skip to content

Commit b99f60c

Browse files
committed
IPV6 support default IP #554
1 parent 1a55c45 commit b99f60c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

server/default.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
# ATOMIC_PORT=9883
2828
# ATOMIC_PORT_HTTPS=9884
2929

30-
# Local IP where it's running. Use 0.0.0.0 if you want it to be public.
31-
# ATOMIC_IP=0.0.0.0
30+
# Local IP where it's running. Use :: if you want it to be public.
31+
# ATOMIC_IP=::
3232

3333
# Set this to true during development. It will prevent unnecessary calls to the production environment of LetsEncrypt
3434
# ATOMIC_DEVELOPMENT=false

server/src/config.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ pub struct Opts {
4444
#[clap(long, default_value = "9884", env = "ATOMIC_PORT_HTTPS")]
4545
pub port_https: u32,
4646

47-
/// The IP address of the server. Set to 0.0.0.0 if you want this to be available to other devices on your network.
48-
#[clap(long, default_value = "0.0.0.0", env = "ATOMIC_IP")]
47+
/// The IP address of the server. Set to :: if you want this to be available to other devices on your network.
48+
#[clap(long, default_value = "::", env = "ATOMIC_IP")]
4949
pub ip: IpAddr,
5050

5151
/// Use HTTPS instead of HTTP.

0 commit comments

Comments
 (0)