v0.38.10
This commit is contained in:
1 parent
38a23e2210
commit
45b1fc04c7
36 files changed
+9594
-7892
No files matched your search
@@ -536,7 +536,10 @@ function load(value = defaults(), migrationIds = [], show = true) {
|
||||
note(unsafeCacheFields, "vhCacheForceHelp");
|
||||
const cacheRulesFields = el("div", undefined, "vh-wide vh-cache-rules"); cacheOptions.append(cacheRulesFields);
|
||||
cacheRulesFields.append(el("h4", t("vhCacheRulesTitle")), el("p", t("vhCacheRulesHelp"), "fine"));
|
||||
vhostCacheRulesEditor = window.rustProxyCacheRules.create({ scope: "vhost", vhostId: editing || "", rules: cache.rules || [], ignoreGlobal: cache.ignore_global_rules === true });
|
||||
vhostCacheRulesEditor = window.rustProxyCacheRules.create({
|
||||
scope: "vhost", vhostId: editing || "", rules: cache.rules || [], ignoreGlobal: cache.ignore_global_rules === true,
|
||||
testHost: () => lines(read("hosts")?.value || "").find(host => host && !host.startsWith("*.")) || "",
|
||||
});
|
||||
cacheRulesFields.append(vhostCacheRulesEditor.node);
|
||||
if (editing) cacheOptions.append(button("vhPurgeCache", () => purge(editing)));
|
||||
const syncCacheVisibility = () => {
|
||||
|
||||
Reference in new issue
Block a user