@nitra/vite-boot 3.5.2 → 3.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/sentry.js +6 -1
- package/src/token.js +1 -1
package/package.json
CHANGED
package/src/sentry.js
CHANGED
|
@@ -10,7 +10,12 @@ export const bootSentry = (app, tracing = 0) => {
|
|
|
10
10
|
app,
|
|
11
11
|
dsn: import.meta.env.VITE_SENTRY,
|
|
12
12
|
release: __GITHUB_SHA__,
|
|
13
|
-
ignoreErrors: [
|
|
13
|
+
ignoreErrors: [
|
|
14
|
+
'Socket closed',
|
|
15
|
+
'ResizeObserver loop limit exceeded',
|
|
16
|
+
'Apollo client with id default not found',
|
|
17
|
+
'ResizeObserver loop completed with undelivered notifications'
|
|
18
|
+
],
|
|
14
19
|
integrations: []
|
|
15
20
|
}
|
|
16
21
|
|
package/src/token.js
CHANGED
|
@@ -100,7 +100,7 @@ export async function refreshToken() {
|
|
|
100
100
|
|
|
101
101
|
// Якщо запущений аполо
|
|
102
102
|
// допускаємо що ми всередині прикладення
|
|
103
|
-
if (apolloClient) {
|
|
103
|
+
if (window.location.pathname !== '/login' && apolloClient) {
|
|
104
104
|
setUser(check.decoded)
|
|
105
105
|
|
|
106
106
|
// перезавантажуємо щоб він вступив в дію
|