我正在尝试将我的Java Servlet项目移植到App Engine。我无法获得我的CSS文件来部署我的配置和app.yaml配置。我做错了什么?



发布于 2021-06-02 19:09:23
您需要更改webapp的处理程序url。必须是这样的:
handlers:
- url: /webapp/(.*\.(gif|png|jpg|js|css|json))$
static_dir: webapp\1它对那些驻留在嵌套文件夹中的文件使用正则表达式
发布于 2021-06-02 19:27:48
handlers:
# All URLs beginning with /stylesheets are treated as paths to
# static files in the stylesheets/ directory.
- url: /stylesheets
static_dir: stylesheets
# ...https://stackoverflow.com/questions/67668645
复制相似问题