应用程序引擎端点API - 404具有自定义域

Sar*_*war 4 google-app-engine google-cloud-endpoints

我正在尝试将自定义域与app引擎一起使用.使用localhost和appspot url一切正常.但是使用自定义域端点api不起作用; API发现请求(https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest)返回Not Found错误代码404.

这是我的app.yaml(完整代码):

- url: /_ah/spi/.*
  script: conference.api
  secure: optional
Run Code Online (Sandbox Code Playgroud)

和端点api(完整代码):

@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"""
........
Run Code Online (Sandbox Code Playgroud)

提前致谢.

tx8*_*802 8

根据文档:

注意:Google Cloud Endpoints不支持自定义域.

编辑

有一个开放的功能请求,所以你可能想要明星.