Allow changing listening ip addresses (#1713)

* Allow changing listening ip address

* Use Json serialize for appsettings.config saving

* BOM

* IP Address validation

* ip address reset

* ValidIpAddress regex
This commit is contained in:
Kupferhirn 2023-02-12 17:37:46 +01:00 committed by GitHub
parent 01aed6ad99
commit 11cb2cfb17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 194 additions and 17 deletions

View file

@ -1,4 +1,5 @@
{
"TokenKey": "super secret unguessable key",
"Port": 5000
"Port": 5000,
"IpAddresses": "0.0.0.0,::"
}

View file

@ -1,4 +1,5 @@
{
{
"TokenKey": "super secret unguessable key",
"Port": 5000
"Port": 5000,
"IpAddresses": "0.0.0.0,::"
}