We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b018305 commit d98de56Copy full SHA for d98de56
appengine/flexible/multiple_services/gateway-service/services_config.py
@@ -44,7 +44,7 @@ def map_services(environment):
44
45
def production_url(service_name):
46
"""Generates url for a service when deployed to App Engine."""
47
- project_id = os.environ.get('GAE_LONG_APP_ID')
+ project_id = os.getenv('GOOGLE_CLOUD_PROJECT')
48
project_url = '{}.appspot.com'.format(project_id)
49
if service_name == 'default':
50
return 'https://{}'.format(project_url)
0 commit comments