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
Because Next.js works so differently when built, I test the using the flag "production" in my machine. The issue is that, because I'm local and not in the production server I need to use the local addresses for external assets and data which results in me changing a couple of variables in my code to make that happen. I haven't pushed to prod with these variables changed, but I feel like it's a disaster waiting to happen lol.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Because Next.js works so differently when built, I test the using the flag "production" in my machine. The issue is that, because I'm local and not in the production server I need to use the local addresses for external assets and data which results in me changing a couple of variables in my code to make that happen. I haven't pushed to prod with these variables changed, but I feel like it's a disaster waiting to happen lol.
What do you guys do to test builds? Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions