From d0289f85d56adf720db5be8dbe94d500587328f9 Mon Sep 17 00:00:00 2001 From: ComputerTech Date: Fri, 27 Mar 2026 16:14:17 +0000 Subject: [PATCH] Add missing CSP nonces to scripts; fix Nginx static path for remote server --- bastebin.nginx.conf | 2 +- templates/base.html | 151 ++++++++++++++++++++++++++++++++------------ 2 files changed, 111 insertions(+), 42 deletions(-) diff --git a/bastebin.nginx.conf b/bastebin.nginx.conf index 2136b02..2b13efb 100644 --- a/bastebin.nginx.conf +++ b/bastebin.nginx.conf @@ -4,7 +4,7 @@ server { # Static files serving - offload from Flask/Gunicorn location /static/ { - alias /home/colby/projects/bastebin/static/; + alias /home/computertech/bastebin/static/; expires 30d; add_header Cache-Control "public, no-transform"; } diff --git a/templates/base.html b/templates/base.html index d7b29c3..920d469 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,23 +1,32 @@ + {% block title %}{{ cfg.site.name }}{% endblock %} - - - + + + +