我正在尝试按照可用的网络教程博客在gcloud上部署/托管静态网站。
连接gcloud sdk
将目录更改为示例应用程序(网站+ app.yaml)
使用命令gcloud app deploy
文件上传&服务部署。
但是在点击网址
App引擎仪表板显示存在客户端错误
app.yaml中的内容
runtime: python27
api_version: 1
threadsafe: true
handlers:
- url: /
static_files: website/index.html
upload: website/index.html
- url: /
static_dir: website