Simplify
This commit is contained in:
parent
d704202e6e
commit
d2b08bf891
|
@ -60,8 +60,8 @@ def new():
|
||||||
|
|
||||||
# Template arguments.
|
# Template arguments.
|
||||||
args = {
|
args = {
|
||||||
'server': f'{settings.get("wg_endpoint")}',
|
'server': settings.get('wg_endpoint'),
|
||||||
'port': f'{settings.get("wg_port", 51820)}',
|
'port': settings.get('wg_port', '51820'),
|
||||||
'server_key': server_pubkey,
|
'server_key': server_pubkey,
|
||||||
'pubkey': pubkey,
|
'pubkey': pubkey,
|
||||||
'ip': str(ip),
|
'ip': str(ip),
|
||||||
|
|
Loading…
Reference in a new issue