- Fixed UI issue on the HSTS toggle
- Added error message on save error for HSTS
This commit is contained in:
Toby Chui
2024-12-06 19:06:59 +08:00
parent c39af1ff8e
commit 24371ed22e
2 changed files with 6 additions and 2 deletions

View File

@@ -364,7 +364,7 @@
method: "POST",
data: {
"domain": editingEndpoint.ep,
"maxage": 31536000
"maxage": HSTSEnabled?31536000:0,
},
success: function(data){
if (data.error != undefined){