Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
shifucun committed Feb 23, 2023
1 parent c584b4c commit 262db39
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/app_env/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Config:
os.environ.get('MIXER_HASH'))
API_ROOT = 'http://127.0.0.1:8081' # Port for Kubernetes ESP.
NL_ROOT = 'http://127.0.0.1:6060' # Port for Kubernetes ESP.
ENABLE_AI = False
AI_CONFIG_PATH = '/datacommons/ai/ai.yaml'
SECRET_PROJECT = os.environ.get('SECRET_PROJECT') or ''
MAPS_API_KEY = os.environ.get('MAPS_API_KEY') or ''
Expand Down
1 change: 1 addition & 0 deletions server/app_env/autopush.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@
class Config(_base.Config):
GA_ACCOUNT = 'G-Y6ZXZ9JK3H'
GCS_BUCKET = 'datcom-website-autopush-resources'
ENABLE_AI = True
LOG_QUERY = True
2 changes: 1 addition & 1 deletion server/app_env/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Config(_base.Config):
API_ROOT = 'https://autopush.api.datacommons.org'
API_PROJECT = 'datcom-mixer-autopush'
AI_CONFIG_PATH = os.path.abspath(
os.path.join(os.path.curdir, '..', 'deploy/overlays/local/ai.yaml'))
os.path.join(os.path.curdir, 'deploy/overlays/local/ai.yaml'))
SCHEME = 'http'
GCS_BUCKET = 'datcom-website-autopush-resources'
LOG_QUERY = True
Expand Down

0 comments on commit 262db39

Please sign in to comment.