App 引擎端点 API - 具有自定义域的 404
App engine endpoints API - 404 with custom domain
我正在尝试将自定义域与 App Engine 结合使用。本地主机和 appspot url. But with custom domain endpoints api doesn't work; the API discovery request (https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest) returns Not Found
一切正常,错误代码为 404
.
这是我的 app.yaml (full code):
- url: /_ah/spi/.*
script: conference.api
secure: optional
和端点 api (full code):
@endpoints.api( name='conference',
version='v1',
allowed_client_ids=[WEB_CLIENT_ID, API_EXPLORER_CLIENT_ID],
scopes=[EMAIL_SCOPE], hostname = 'cc.mdsarowar.me')
class ConferenceApi(remote.Service):
"""Conference API v0.1"""
........
提前致谢。
根据 docs:
Note: Google Cloud Endpoints does not support custom domains.
编辑
这里有一个 open feature request,所以你可能想给它加注星标。
我正在尝试将自定义域与 App Engine 结合使用。本地主机和 appspot url. But with custom domain endpoints api doesn't work; the API discovery request (https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest) returns Not Found
一切正常,错误代码为 404
.
这是我的 app.yaml (full code):
- url: /_ah/spi/.*
script: conference.api
secure: optional
和端点 api (full code):
@endpoints.api( name='conference',
version='v1',
allowed_client_ids=[WEB_CLIENT_ID, API_EXPLORER_CLIENT_ID],
scopes=[EMAIL_SCOPE], hostname = 'cc.mdsarowar.me')
class ConferenceApi(remote.Service):
"""Conference API v0.1"""
........
提前致谢。
根据 docs:
Note: Google Cloud Endpoints does not support custom domains.
编辑
这里有一个 open feature request,所以你可能想给它加注星标。