mirror of
https://github.com/plantroon/acme.sh.git
synced 2025-01-22 04:12:02 +00:00
0daa225e26
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/