fixed caching

This commit is contained in:
2025-01-31 17:28:52 +03:00
parent 5c72c3cbc0
commit 69afb6b0df
3 changed files with 52 additions and 85 deletions

View File

@@ -20,14 +20,13 @@ html
input(type="radio" id="elytra" name="cape_type" value="elytra" checked="unchecked")
label(for="elytra") Элитры
p Скин:
form(method="post" enctype="multipart/form-data" action="/api/uploadskin" target="hiddenFrame" onsubmit="window.location.reload()")
input(type="file" name="file")
form(target="hiddenFrame" id="skinForm")
input(type="file" name="file" id="skinFile")
input(type="submit" value="Загрузить")
if can_have_cloak
p Плащ:
form(method="post" enctype="multipart/form-data" action="/api/uploadCape" target="hiddenFrame" onsubmit="window.location.reload()")
input(type="file", name="file")
input(type="submit", value="Загрузить")
form(target="hiddenFrame" id="capeForm")
input(type="file" name="file" id="capeFile")
input(type="submit" value="Загрузить")
button(onclick="window.location.href='/api/logout'" value="Выйти" id="exitButton") Выйти
//- a(href="/api/logout") Выйти