Commit 7088c91
fix(explorer): add VITE_SENTRY_DSN to all environments (#577)
The client-side Sentry SDK was not initializing because VITE_SENTRY_DSN
was not set as a plaintext var. Unlike SENTRY_DSN (server-side), the
VITE_ prefixed var must be a build-time var since Vite inlines it into
the client bundle.
Amp-Thread-ID: https://ampcode.com/threads/T-019c483f-b200-70ca-a153-75c9c656a7de
Co-authored-by: Amp <[email protected]>1 parent 97e8177 commit 7088c91
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| 112 | + | |
110 | 113 | | |
111 | 114 | | |
112 | 115 | | |
| |||
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| 152 | + | |
149 | 153 | | |
150 | 154 | | |
151 | 155 | | |
| |||
0 commit comments