Update host update form for main host (host 0)
This commit is contained in:
@@ -42,7 +42,7 @@ export default function deriveHostConfig({ host, clients }: Params) {
|
||||
config_path: host?.dir_names?.HOST_CONFIG_FILE,
|
||||
|
||||
address: wg_ip_address ? `${wg_ip_address}/24` : undefined,
|
||||
listen_port: AppData["DefaultWGListenPort"],
|
||||
listen_port: host?.listen_port || AppData["DefaultWGListenPort"],
|
||||
post_up: host?.dir_names?.POST_UP_PATH,
|
||||
post_down: host?.dir_names?.POST_DOWN_PATH,
|
||||
public_key: public_key,
|
||||
|
||||
Reference in New Issue
Block a user