在端点 1.0 上一切都很好。我已经完成了迁移2.0 google docs 的所有步骤。成功更新我的项目,并且可以运行端点 api explorer。但是当我尝试在本地(localhost:8080/_ah/api/explorer)运行端点 api explorer 时,它会将我重定向到 google api explorer。这是我的 app.yaml
application: graphofgroups
version: 1
runtime: python27
threadsafe: true
api_version: 1
handlers:
- url: /static
static_dir: static
- url: /
static_files: static/index.html
upload: static/index\.html
secure: always
- url: /js
static_dir: static/js
- url: /partials
static_dir: static/partials
- url: /.*
script: main.app
- url: /_ah/api/.*
script: main.app
libraries:
- name: ssl
version: latest
- name: pycrypto
version: latest
- name: numpy
version: "1.6.1"
inbound_services:
- mail
builtins:
- remote_api: on
env_variables:
ENDPOINTS_SERVICE_NAME: echo-api.endpoints.graphofgroups.appspot.com
ENDPOINTS_SERVICE_VERSION: [2017-04-06r0]