CSS File Not Updating on Deploy (Google AppEngine)

后端 未结 12 1900
既然无缘
既然无缘 2020-12-09 03:39

I pushed a new version of my website, but now the CSS and static images are not deploying properly.

Here is the messed up page: http://www.gaiagps.com

Appeng

12条回答
  •  悲哀的现实
    2020-12-09 04:07

    Ok For newer people seeing this problem i tried the cache-bursting approach and seem to have fixed it here is an example of what i did for the css import on app.cfg file create a variable to hold your appid as set in app.yaml file and set it as one below

     
    

    Also for the app.yaml file add this config to be on the safe side

    handlers:

    • url: /static static_dir: static

提交回复
热议问题