diff --git a/compose.yaml b/compose.yaml index a3d0399..819a2fe 100644 --- a/compose.yaml +++ b/compose.yaml @@ -5,7 +5,7 @@ services: context: . dockerfile: osg.dockerfile - image: osg:25 # <--automate this number change to trigger stack redeploy. + image: osg:26 # <--automate this number change to trigger stack redeploy. environment: DOCKER: "true" diff --git a/server.py b/server.py index c1b5953..195f469 100644 --- a/server.py +++ b/server.py @@ -53,6 +53,8 @@ def run_server(host_ip, host_port, host_prefix, static_dir, database_connection, 'tools.staticdir.index': 'index.html', 'tools.expires.on': True, 'tools.expires.secs': 30*24*60*60, # 30 days + 'tools.gzip.on': True, + 'tools.gzip.mime_types': ['text/*', 'application/*', 'font/*'], }, '/images': { 'tools.caching.on': True, diff --git a/web_content/index.html b/web_content/index.html index b814b64..999946d 100644 --- a/web_content/index.html +++ b/web_content/index.html @@ -7,6 +7,43 @@ + +

diff --git a/web_content/verification.html b/web_content/verification.html index 2177ab3..b97216d 100644 --- a/web_content/verification.html +++ b/web_content/verification.html @@ -6,6 +6,33 @@ + +

@@ -119,7 +146,6 @@ flex-direction: column; justify-content: center; align-items: center; - min-height: 100vh; font-family: Arial, sans-serif; }