mirror of
https://github.com/cunnie/sslip.io.git
synced 2025-10-05 15:46:50 +08:00
🐞 Fix warning on startup
When using the default addresses, the server would start with a warning caused by an extra comma at the end of the last `-addresses` argument. This commit removes that errant comma. Fixes, when server starts: ``` -addresses: arguments should be in the format "host=ip", not "" ```
This commit is contained in:
2
main.go
2
main.go
@@ -57,7 +57,7 @@ func main() {
|
||||
"ns-hetzner.sslip.io=5.78.115.44,"+
|
||||
"ns-hetzner.sslip.io=2a01:4ff:1f0:c920::,"+
|
||||
"ns-ovh.sslip.io=51.75.53.19,"+
|
||||
"ns-ovh.sslip.io=2001:41d0:602:2313::1,",
|
||||
"ns-ovh.sslip.io=2001:41d0:602:2313::1",
|
||||
"comma-separated list of hosts and corresponding IPv4 and/or IPv6 address(es). If you're running your own sslip.io nameservers, add their hostnames and addresses here. If unsure, add to the list rather than replace")
|
||||
var delegates = flag.String("delegates", "", "comma-separated list of domains you own "+
|
||||
"and nameservers you control to which to delegate, often used to acquire wildcard certificates from "+
|
||||
|
Reference in New Issue
Block a user