mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-27 21:09:43 +03:00
Typo fixes
This commit is contained in:
parent
d5ff0cb704
commit
ef28e332cc
2 changed files with 2 additions and 2 deletions
|
@ -162,7 +162,7 @@ func WireGuardServerInterfaces() echo.HandlerFunc {
|
||||||
// validate the input addresses
|
// validate the input addresses
|
||||||
if util.ValidateServerAddresses(serverInterface.Addresses) == false {
|
if util.ValidateServerAddresses(serverInterface.Addresses) == false {
|
||||||
log.Warnf("Invalid server interface addresses input from user: %v", serverInterface.Addresses)
|
log.Warnf("Invalid server interface addresses input from user: %v", serverInterface.Addresses)
|
||||||
return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Interface IP addresses must be in CIDR format"})
|
return c.JSON(http.StatusBadRequest, jsonHTTPResponse{false, "Interface IP address must be in CIDR format"})
|
||||||
}
|
}
|
||||||
|
|
||||||
serverInterface.UpdatedAt = time.Now().UTC()
|
serverInterface.UpdatedAt = time.Now().UTC()
|
||||||
|
|
|
@ -19,7 +19,7 @@ Wireguard Server Settings
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="card card-success">
|
<div class="card card-success">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h3 class="card-title">Interfaces</h3>
|
<h3 class="card-title">Interface</h3>
|
||||||
</div>
|
</div>
|
||||||
<!-- /.card-header -->
|
<!-- /.card-header -->
|
||||||
<!-- form start -->
|
<!-- form start -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue