mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-18 08:29:14 +00:00
reroute dns provider query
This commit is contained in:
parent
9540e26ce1
commit
dd15e0ab65
|
@ -44,7 +44,7 @@ def get_system_domain_info() -> SystemDomainInfo:
|
|||
return SystemDomainInfo(
|
||||
domain=user_data["domain"],
|
||||
hostname=user_data["hostname"],
|
||||
provider=DnsProvider.CLOUDFLARE,
|
||||
provider=user_data["dns"]["provider"],
|
||||
)
|
||||
|
||||
|
||||
|
|
|
@ -11,9 +11,6 @@
|
|||
"bitwarden": {
|
||||
"enable": true
|
||||
},
|
||||
"cloudflare": {
|
||||
"apiKey": "TOKEN"
|
||||
},
|
||||
"databasePassword": "PASSWORD",
|
||||
"domain": "test.tld",
|
||||
"hashedMasterPassword": "HASHED_PASSWORD",
|
||||
|
@ -51,5 +48,9 @@
|
|||
"timezone": "Europe/Moscow",
|
||||
"sshKeys": [
|
||||
"ssh-rsa KEY test@pc"
|
||||
]
|
||||
],
|
||||
"dns": {
|
||||
"provider": "CLOUDFLARE",
|
||||
"apiKey": "TOKEN"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue