I am trying to use my own domain with the application engine. Everything works fine with localhost and appspot url . But api endpoints do not work with a custom domain ; The API discovery request ( https://cc.mdsarowar.me/_ah/api/discovery/v1/apis/conference/v1/rest ) returns Not Foundwith an error code 404.
Here is my app.yaml ( full code ):
- url: /_ah/spi/.*
script: conference.api
secure: optional
And the api endpoints ( 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"""
........
Thanks in advance.
source
share