From 25aa74ba1477590a2e706f6aa7391075d85c266d Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Sun, 14 Mar 2021 10:36:57 +0200 Subject: [PATCH] app.yaml: Try to serve static CSS directly Google App Engine is currently caching an old version of my CSS, so I am trying to get it to use the correct version. Let's try serving it directly from the filesystem. See: https://cloud.google.com/appengine/docs/standard/php/getting-started/serving-static-files --- app.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.yaml b/app.yaml index be64c4a..78904c3 100644 --- a/app.yaml +++ b/app.yaml @@ -1,2 +1,6 @@ runtime: python39 entrypoint: gunicorn -b :$PORT main:app + +handlers: +- url: /static/css + static_dir: static/css