我正在尝试将自定义域与应用程序引擎一起使用。本地主机一切正常并且应用程序点网址 https://conference-center-1177.appspot.com。但与自定义域 https://cc.mdsarowar.me/端点 API 不起作用; API 发现请求(https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest) 返回Not Found
有错误代码404
.
这是我的 app.yaml (完整代码 http://pastebin.com/QTugNVts):
- url: /_ah/spi/.*
script: conference.api
secure: optional
和端点 api (完整代码 http://pastebin.com/RNusmh84):
@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 https://cloud.google.com/appengine/docs/python/endpoints/:
Note:Google Cloud Endpoints 不支持自定义域。
Edit
有一个打开功能请求 https://code.google.com/p/googleappengine/issues/detail?id=9384为此,您可能想为其加注星标。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)