Repository navigation
Commit 05af502
fix: default nmrXiv endpoint to production outside Vite
Guard access to import.meta.env so importing the compiled package does not throw when Vite environment variables are unavailable. Preserve Vite development endpoint selection.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 948cf40 commit 05af502
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
0 commit comments