Index: remoting/webapp/build-webapp.py |
diff --git a/remoting/webapp/build-webapp.py b/remoting/webapp/build-webapp.py |
index 979b593aab2b19df90be59b7a10e408fe08cfaa6..2706d04f7ef1a3997607a136bf8049f43576df33 100755 |
--- a/remoting/webapp/build-webapp.py |
+++ b/remoting/webapp/build-webapp.py |
@@ -350,6 +350,7 @@ def buildWebApp(buildtype, version, destination, zip_path, |
# For overriding the client ID/secret via env vars, see google_api_keys.py. |
apiClientId = google_api_keys.GetClientID('REMOTING') |
apiClientSecret = google_api_keys.GetClientSecret('REMOTING') |
+ apiKey = google_api_keys.GetAPIKeyRemoting() |
if is_app_remoting_webapp and buildtype != 'Dev': |
if not app_client_id: |
@@ -361,6 +362,7 @@ def buildWebApp(buildtype, version, destination, zip_path, |
replaceString(destination, 'API_CLIENT_ID', apiClientId) |
replaceString(destination, 'API_CLIENT_SECRET', apiClientSecret) |
+ replaceString(destination, 'API_KEY', apiKey) |
# Write the application capabilities. |
appCapabilities = ','.join( |