我已经在谷歌应用引擎上进行了部署,应用引擎版本在pom.xml中为1,它为谷歌 endpoints 生成url https://1-dot-xyx-app.appspot.com/_ah/api/ .
是否有可能为Google endpoints 提供网址https://xyz-app.appspot.com/_ah/api/?
谢谢 .
我已经在谷歌应用引擎上进行了部署,应用引擎版本在pom.xml中为1,它为谷歌 endpoints 生成url https://1-dot-xyx-app.appspot.com/_ah/api/ .
是否有可能为Google endpoints 提供网址https://xyz-app.appspot.com/_ah/api/?
谢谢 .
2 回答
https://xyz-app.appspot.com/_ah/api/应该直接适用于您的应用程序的默认版本 .
Rahul 's answer is correct, but if version 1 isn' t应用程序的默认版本,然后答案是否定的 - 您将需要使用https://1-dot-xyx-app.appspot.com/_ah/api/
这是因为一次运行多个活动版本,您不能将它们放在同一位置!