-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set different default values to environment variables (#702)
- Loading branch information
Showing
4 changed files
with
19 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
NEXT_PUBLIC_MEASUREMENTS_URL=https://api.ooni.io | ||
NEXT_PUBLIC_AGGREGATION_API=https://api.ooni.io | ||
NEXT_PUBLIC_EXPLORER_URL=https://explorer.ooni.org | ||
# Variables common to all environments | ||
# To override locally, make a copy called `.env.local` (which is not loaded when NODE_ENV=test.) | ||
# Refer: https://nextjs.org/docs/basic-features/environment-variables | ||
|
||
PORT=3100 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Used only in development environments | ||
# To override locally, make a copy called `.env.development.local` | ||
# Refer: https://nextjs.org/docs/basic-features/environment-variables | ||
|
||
NEXT_PUBLIC_MEASUREMENTS_URL=https://ams-pg-test.ooni.org | ||
NEXT_PUBLIC_AGGREGATION_API=https://backend-fsn.ooni.org | ||
NEXT_PUBLIC_EXPLORER_URL=http://localhost:3100 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
# Used in test/CI environemnts | ||
# To override locally, make a copy called `.env.test.local` | ||
# Refer: https://nextjs.org/docs/basic-features/environment-variables | ||
|
||
NEXT_PUBLIC_MEASUREMENTS_URL=https://ams-pg-test.ooni.org | ||
NEXT_PUBLIC_EXPLORER_URL=https://explorer-test.ooni.io | ||
NEXT_PUBLIC_AGGREGATION_API=https://backend-fsn.ooni.org |
d884835
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: