@nitra/vite-boot 3.1.7 → 3.1.8

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/token.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/vite-boot",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
4
4
  "description": "Vite boot",
5
5
  "type": "module",
6
6
  "exports": {
package/src/token.js CHANGED
@@ -65,7 +65,7 @@ export async function refreshToken() {
65
65
  // Прибираємо токен, щоб інші паралельні JWTExpired не виконувались
66
66
  cleanToken()
67
67
 
68
- const response = await fetch('/refresh-token', {
68
+ const response = await fetch('/auth/refresh-token', {
69
69
  method: 'POST',
70
70
  headers: {
71
71
  'Content-Type': 'application/json'