From 258d89d86ccc6e437f853a7059f0a6b7883b1c01 Mon Sep 17 00:00:00 2001
From: Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>
Date: Mon, 12 Feb 2024 23:03:09 +0100
Subject: Some improvements
---
layouts/_default/baseof.html | 2 ++
layouts/partials/footer.html | 5 +++--
staticwebapp.config.json | 8 ++++++++
3 files changed, 13 insertions(+), 2 deletions(-)
create mode 100644 staticwebapp.config.json
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 9c33520..40f8a22 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -8,6 +8,8 @@
{{ .Page.Title }} - Ariel Costas
+
+
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 1d98e95..35afc9a 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -2,7 +2,8 @@
\ No newline at end of file
diff --git a/staticwebapp.config.json b/staticwebapp.config.json
new file mode 100644
index 0000000..d404c78
--- /dev/null
+++ b/staticwebapp.config.json
@@ -0,0 +1,8 @@
+{
+ "globalHeaders": {
+ "X-Frame-Options": "DENY",
+ "X-Content-Type-Options": "nosniff",
+ "X-XSS-Protection": "1; mode=block",
+ "Content-Security-Policy": "default-src 'none'; script-src 'self'; style-src 'self'; img-src 'self'; font-src 'self'"
+ }
+}
\ No newline at end of file
--
cgit v1.3