-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(website): replace confusing utils.is_prod() function (#2898)
`utils.is_prod()` was actually checking if we were running on Cloud Run (returning True if running on 'oss-vdb-test'). Renamed it to `is_cloud_run()` to be less confusing. Also created `utils.api_url()` to use where `is_prod` was being used incorrectly.
- Loading branch information
1 parent
e1ad1ba
commit 5d8c55b
Showing
6 changed files
with
101 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.