Deploy cloud endpoints on custom domain

2019-03-13 05:43发布

I'm testing with Google Cloud Endpoints on App Engine and I've mapped my app to a custom domain. It appears that this is not possible. I've tried accessing the endpoint url, changing the host but this gives me a 404. I've also tried to change the root url and backend url for the service, but then I get this error after deployment:

Endpoints: https://test.neenbedankt.com/_ah/api/myapi@v1 Error: API root https://test.neenbedankt.com/_ah/api not allowed on host version.myappid.appspot.com

Can somebody confirm this is a limitation? For my current project this would be a showstopper.

2条回答
爱情/是我丢掉的垃圾
2楼-- · 2019-03-13 06:26

Correct, you can not map to a custom domain at current.

查看更多
Summer. ? 凉城
3楼-- · 2019-03-13 06:40

edit: Google CloudEndpoints 2.0 will support this, which is now BETA. As explained by Google in the link below.

Google has now announced this "will be supported" but has not given an ETA.

https://code.google.com/p/googleappengine/issues/detail?id=9384#c44

查看更多
登录 后发表回答