2012-08-02 44 views
0

我有以下的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 requested URL /privacy.html was not found on this server. 

一切工作正常在本地開發服務器。

+1

上傳應用程序時是否收到任何消息?您需要更改您的配置以上傳:html/privacy.html,然後上傳:html/terms.html。第二個url也應該是url:/terms.html – 2012-08-02 17:45:45

回答

1

正如塞巴斯蒂安克雷夫特指出你的「上傳:」條款是錯誤的。閱讀他的評論,找出它應該是什麼。