mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add some security headers
This commit is contained in:
parent
ea81b945ce
commit
d3c6598e50
5 changed files with 24 additions and 8 deletions
6
src/site/html/static/js/settings_message.js
Normal file
6
src/site/html/static/js/settings_message.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
const params = new URLSearchParams(window.location.search)
|
||||
if (params.has("status")) {
|
||||
params.delete("status")
|
||||
params.delete("message")
|
||||
history.replaceState(null, "", "?" + params.toString())
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue