fix: resolve 500 error on server creation due to ipv6_cidr schema violation
This commit is contained in:
parent
3960d6025f
commit
dd8dd605f1
1 changed files with 0 additions and 2 deletions
|
|
@ -27,7 +27,6 @@ const internalWireguard = {
|
||||||
name: "wg0",
|
name: "wg0",
|
||||||
listen_port: 51820,
|
listen_port: 51820,
|
||||||
ipv4_cidr: "10.0.0.1/24",
|
ipv4_cidr: "10.0.0.1/24",
|
||||||
ipv6_cidr: null,
|
|
||||||
mtu: 1420,
|
mtu: 1420,
|
||||||
dns: WG_DEFAULT_DNS,
|
dns: WG_DEFAULT_DNS,
|
||||||
host: WG_HOST,
|
host: WG_HOST,
|
||||||
|
|
@ -382,7 +381,6 @@ const internalWireguard = {
|
||||||
public_key: publicKey,
|
public_key: publicKey,
|
||||||
listen_port,
|
listen_port,
|
||||||
ipv4_cidr,
|
ipv4_cidr,
|
||||||
ipv6_cidr: null,
|
|
||||||
mtu: data.mtu || WG_DEFAULT_MTU,
|
mtu: data.mtu || WG_DEFAULT_MTU,
|
||||||
dns: data.dns || WG_DEFAULT_DNS,
|
dns: data.dns || WG_DEFAULT_DNS,
|
||||||
host: data.host || WG_HOST,
|
host: data.host || WG_HOST,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue