Google app engine 在google app engine中传递静态内容时出错
我有以下app.yaml配置文件:Google app engine 在google app engine中传递静态内容时出错,google-app-engine,static,Google App Engine,Static,我有以下app.yaml配置文件: - url: /privacy.html static_files: html/privacy.html upload: static_files - url: /terms.html static_files: html/terms.html upload: static_files 当从web浏览器点击www.samplewebsite.com/privacy.html时,它抱怨如下: Error: Not Found The
- url: /privacy.html
static_files: html/privacy.html
upload: static_files
- url: /terms.html
static_files: html/terms.html
upload: static_files
当从web浏览器点击www.samplewebsite.com/privacy.html时,它抱怨如下:
Error: Not Found
The requested URL /privacy.html was not found on this server.
在本地dev服务器中一切正常 正如塞巴斯蒂安·克雷夫特(Sebastian Kreft)指出的那样,你的“上传:”条款是错误的。阅读他的评论,找出应该是什么。上传应用程序时,你收到任何消息了吗?您需要更改配置以上载:html/privacy.html和上载:html/terms.html。第二个url也应该是url:/terms.html