mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Added plain dns control
This commit is contained in:
parent
b977aed9bd
commit
3f057062f1
4 changed files with 25 additions and 2 deletions
|
@ -39,6 +39,7 @@ class EncryptionData {
|
|||
final String certificatePath;
|
||||
final String privateKeyPath;
|
||||
final bool privateKeySaved;
|
||||
final bool? servePlainDns;
|
||||
|
||||
EncryptionData({
|
||||
required this.validCert,
|
||||
|
@ -65,6 +66,7 @@ class EncryptionData {
|
|||
required this.certificatePath,
|
||||
required this.privateKeyPath,
|
||||
required this.privateKeySaved,
|
||||
required this.servePlainDns,
|
||||
});
|
||||
|
||||
|
||||
|
@ -93,6 +95,7 @@ class EncryptionData {
|
|||
certificatePath: json["certificate_path"],
|
||||
privateKeyPath: json["private_key_path"],
|
||||
privateKeySaved: json["private_key_saved"],
|
||||
servePlainDns: json["serve_plain_dns"],
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
|
@ -120,6 +123,7 @@ class EncryptionData {
|
|||
"certificate_path": certificatePath,
|
||||
"private_key_path": privateKeyPath,
|
||||
"private_key_saved": privateKeySaved,
|
||||
"serve_plain_dns": servePlainDns,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue