add: cache breaker "build code"

This commit is contained in:
trisua 2025-07-20 03:24:55 -04:00
parent 25579c5195
commit 9778230e3f
6 changed files with 32 additions and 22 deletions

View file

@ -75,6 +75,7 @@
.then(res => res.json())
.then((res) => {
if (res.ok) {
globalThis.ALLOW_LEAVE = true;
document.cookie = `Atto-Message=\"Entry created! Your edit code: <code>${res.payload[1]}</code>.\"; path=/`;
document.cookie = \"Atto-Message-Good=true; path=/\";
window.location.href = `/${res.payload[0]}`;