无法提供静态内容文件

时间:2014-06-20 12:48:03

标签: python google-app-engine

由于某种原因,我无法提供静态内容文件。我有以下结构

root
    static
        css
            test.css
app.yaml
在app.yaml中的

我有以下处理程序

handlers:
- url: /css
  static_dir: static/css

现在使用浏览器的导航栏(localhost:8080 / css / test.css)我在网络日志中收到错误404(找不到文件)

1 个答案:

答案 0 :(得分:0)

这不是你的错 - 这是App Engine中的一个错误:https://code.google.com/p/googleappengine/issues/detail?id=11001

这里有一些解决方法:Google App Engine: Won't serve static assets with below error: