Browse Source
Loopia provides hosting in several countries. Each hosting location has it's own API endpoint, such as "https://api.loopia.<TLD>/RPCSERV", where <TLD> is one of: com, no, rs, se. The current LOOPIA_Api variable is hard-coded to ".se". This prevents using the Loopia DNS API on other hosting locations. This commit makes the LOOPIA_Api variable configurable and it falls back to ".se" TLD if LOOPIA_Api is not set. References: - https://www.loopia.com/api/authentication/ - https://www.loopia.no/api/authentication/ - https://www.loopia.rs/api/authentication/ - https://www.loopia.se/api/authentication/pull/2139/head
Miodrag Tokić
6 years ago
1 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue