mirror of
https://github.com/ngoduykhanh/wireguard-ui
synced 2024-05-23 16:02:15 +02:00
Typo fixes
This commit is contained in:
parent
d5ff0cb704
commit
ef28e332cc
|
@ -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…
Reference in a new issue