我在app.yaml
application: mywebfont
version: 1
runtime: python
api_version: 1
handlers:
- url: /font/.*
script: font.py
- url: /
static_files: html/index.html
upload: static_files
- url: .*
script: main.py
它在localhost中正常工作
部署后,我无法检查我的应用程序主页。它始终显示404 not found error
。
答案 0 :(得分:1)
尝试:
application: mywebfont
version: 1
runtime: python
api_version: 1
handlers:
- url: /font/.*
script: font.py
- url: /
static_files: html/index.html
upload: html/index.html
- url: .*
script: main.py