You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The environment variables in examples-web/.env are used in the web browser. So, we need to prefix them with NEXT_PUBLIC_ in order to load into the Next.js properly (here's their doc). However, we could move the wallet interaction logic to the server, so we don't need to prefix them, then we can use symlink to the root env.
Right now developers have to run
npm run setup
to get examples-web to work.Could we use a symlink instead from examples-web/.env -> ../.env ?
Thoughts @npty? This might break windows though, I'm not 100% sure.
The text was updated successfully, but these errors were encountered: