From eeff278c1b4f3a78d5d5dad7d074e2f923f76205 Mon Sep 17 00:00:00 2001 From: Andrew Simonson Date: Sun, 19 Feb 2023 11:44:58 -0600 Subject: [PATCH] enable gzip --- flask.conf | 4 ++++ src/static/css/App.css | 1 + 2 files changed, 5 insertions(+) diff --git a/flask.conf b/flask.conf index 2273c74..e31c0b4 100644 --- a/flask.conf +++ b/flask.conf @@ -7,6 +7,10 @@ server { listen 8080; server_name asimonson.com; + gzip on; + gzip_types text/plain text/javascript text/css; + gunzip on; + add_header Content-Security-Policy "default-src 'self' 'unsafe-inline' 'unsafe-eval' *.cloudflare.com *.chesscomfiles.com *.chess.com *.googletagmanager.com cdn.jsdelivr.net www.google-analytics.com ajax.googleapis.com;"; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; add_header X-Content-Type-Options 'nosniff'; diff --git a/src/static/css/App.css b/src/static/css/App.css index 4eda8ed..337947b 100644 --- a/src/static/css/App.css +++ b/src/static/css/App.css @@ -111,6 +111,7 @@ a { #name-container { display: inline; + cursor: pointer; } .name {