fix typoe for host selection whe updating technitium dns
This commit is contained in:
parent
41611c5a23
commit
bd061dfd55
1 changed files with 2 additions and 2 deletions
|
|
@ -48,9 +48,9 @@ type UpdateRecordResponse struct {
|
||||||
ErrorMessage string `json:"errorMessage"`
|
ErrorMessage string `json:"errorMessage"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// const TECHNITIUM_HOST = "technitium-web.technitium"
|
const TECHNITIUM_HOST = "technitium-web.technitium"
|
||||||
|
|
||||||
const TECHNITIUM_HOST = "localhost"
|
// const TECHNITIUM_HOST = "localhost"
|
||||||
|
|
||||||
func UpdatePublicIPViaTechnitiumAPI(newIp net.IP, username string, password string) error {
|
func UpdatePublicIPViaTechnitiumAPI(newIp net.IP, username string, password string) error {
|
||||||
token, err := createTechnitiumToken(username, password)
|
token, err := createTechnitiumToken(username, password)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue