Closed hardco2020 closed 2 years ago
I believe the root cause for this is that during local development there aren't default settings for the NEXT_PUBLIC_MEASUREMENTS_URL
and NEXT_PUBLIC_AGGREGATION_API
, so it's trying to fetch from localhost:3100
which isn't working.
I opened a PR which should fix this: https://github.com/ooni/explorer/pull/698
@sarathms can you take a look at the PR? Do you think it's going to create any issues in our production deployments, related to the environment variable order precedence?
Expected Behavior
Try to setup the env following the instruction, but running to problem when run
yarn run dev
Actual Behavior
Here's the log I ran into
Steps to Reproduce the Problem
Specifications
I am a new contributor who is trying to help, if there's anything with how I address the issue, just let me know, will correct it or respond asap!