Commit f1d91f0
fix: use NODE_ENV for basePath to avoid runtime process error
The previous approach using process.env?.NEXT_PUBLIC_DEV_ENV causes
"process is not defined" in the browser. NODE_ENV is inlined at build
time by Next.js, avoiding the runtime error.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent fe6aeb2 commit f1d91f0
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
| |||
0 commit comments