few more fixes for wtv-admin

This commit is contained in:
zefie
2022-10-16 17:53:27 -04:00
parent 462b630ba2
commit ac96d97c1c
2 changed files with 11 additions and 10 deletions

View File

@@ -32,7 +32,7 @@ if (auth === true) {
if (res) {
console.log(" * Configuration updated from wtv-admin, reloading")
reloadConfig();
headers = "200 OK\r\nContent-Type: text/html";
headers = "200 OK\nwtv-expire-all: wtv-admin:/operatortweaks\nContent-Type: text/html";
} else {
err = wtvshared.doErrorPage(400, "Error writing userconfig");
headers = err[0];