From e0a4b2363f62016b1518886cd10893df7924cebe Mon Sep 17 00:00:00 2001 From: httpjamesm Date: Tue, 27 Dec 2022 23:44:17 -0500 Subject: [PATCH] feat: add stricter CSPs --- templates/home.html | 10 +++++++--- templates/question.html | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/home.html b/templates/home.html index 3d9bdd8..57c61fd 100644 --- a/templates/home.html +++ b/templates/home.html @@ -5,6 +5,10 @@ +
@@ -17,9 +21,9 @@ StackOverflow.

{{ if .errorMessage }} -
-

Error: {{ .errorMessage }}

-
+
+

Error: {{ .errorMessage }}

+
{{ end }}
diff --git a/templates/question.html b/templates/question.html index cfc4776..da93ae5 100644 --- a/templates/question.html +++ b/templates/question.html @@ -7,7 +7,7 @@