mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-26 04:36:38 +00:00
Merge branch 'master' of https://github.com/HASwitchPlate/openHASP
This commit is contained in:
commit
af6576b402
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
char wg_ip[16] = WIREGUARD_IP;
|
char wg_ip[16] = WIREGUARD_IP;
|
||||||
char wg_private_key[45] = WIREGUARD_PRIVATE_KEY;
|
char wg_private_key[45] = WIREGUARD_PRIVATE_KEY;
|
||||||
char wg_ep_ip[16] = WIREGUARD_EP_IP;
|
char wg_ep_ip[40] = WIREGUARD_EP_IP;
|
||||||
uint16_t wg_ep_port = WIREGUARD_EP_PORT;
|
uint16_t wg_ep_port = WIREGUARD_EP_PORT;
|
||||||
char wg_ep_public_key[45] = WIREGUARD_EP_PUBLIC_KEY;
|
char wg_ep_public_key[45] = WIREGUARD_EP_PUBLIC_KEY;
|
||||||
static WireGuard wg;
|
static WireGuard wg;
|
||||||
|
@ -2357,7 +2357,7 @@ static void http_handle_wireguard()
|
|||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-25"><label for="host" v-t="'wg.host'"></label></div>
|
<div class="col-25"><label for="host" v-t="'wg.host'"></label></div>
|
||||||
<div class="col-75"><input type="text" id="host" maxlength="15" placeholder="Remote IP" v-model="config.wg.host" pattern="^((\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$"></div>
|
<div class="col-75"><input type="text" id="host" maxlength="40" placeholder="Remote IP" v-model="config.wg.host"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-25"><label for="port" v-t="'wg.port'"></label></div>
|
<div class="col-25"><label for="port" v-t="'wg.port'"></label></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user