CSS File Not Updating on Deploy (Google AppEngine)

后端 未结 12 1902
既然无缘
既然无缘 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 03:50

    I had this problem as well. I was using flask with GAE so I didn't have a static handler in my app.yaml. When I added it, the deploy works. Try adding something like this

    handlers:
    - url: /static
      static_dir: static
    

    to your app.yaml and deploy again. It worked for me. Apparently Google is trying to optimize by not updating files that it thinks users can't see.

提交回复
热议问题