Rename AddWaygateTunnel to AddWaygate

This commit is contained in:
Anders Pitman committed 2022-03-07 12:05:05 -07:00
1 parent 1215162f49
commit 3687aa25b5
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -386,7 +386,7 @@ func (d *Database) DeleteDomain(domain string) {
d.persist()
}
func (d *Database) AddWaygateTunnel(domains []string) (string, error) {
func (d *Database) AddWaygate(domains []string) (string, error) {
d.mutex.Lock()
defer d.mutex.Unlock()
+1 -1
View File
@@ -129,7 +129,7 @@ func (h *WebUiHandler) handleWebUiRequest(w http.ResponseWriter, r *http.Request
fmt.Println(fqdn)
waygateId, err := h.db.AddWaygateTunnel([]string{fqdn})
waygateId, err := h.db.AddWaygate([]string{fqdn})
if err != nil {
w.WriteHeader(500)
h.alertDialog(w, r, err.Error(), "/")