Google App Engine主页

时间:2011-04-26 02:11:52

标签: google-app-engine

我在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

1 个答案:

答案 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