aboutsummaryrefslogtreecommitdiff
path: root/public/index.html
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-06-06 02:27:32 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-06-06 03:09:27 +0000
commit8bf3cae6ac89de9569a7ec629594954804a2b55a (patch)
treed897073049c414e15dd33c0ad1dac4345801b22e /public/index.html
parente0ce108e0806d18353ad85125b2b5f1b1c67e07d (diff)
CSP hardening: remove inline styles
Similar to removal of inline scripts, everything was taken out into the CSS files, with the same styles applied there directly. This lets us use `script-src 'self'` in the CSP. Additionally, serve Golden Layout CSS locally to avoid third-party connection.
Diffstat (limited to 'public/index.html')
-rw-r--r--public/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/index.html b/public/index.html
index 7970295d..8558d2ba 100644
--- a/public/index.html
+++ b/public/index.html
@@ -107,7 +107,7 @@
</nav>
<form id="serverlist_container" class="monocle-enriched">
<h2>Server List</h2>
- <div id="ms_error" class="error" style="display: none">
+ <div id="ms_error" class="error">
<p>Could not connect to the master server.</p>
<p>Showing saved list.</p>
</div>