itube-specs 0.0.435 → 0.0.439

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.
@@ -12,6 +12,7 @@
12
12
  <!-- :alt="alt"-->
13
13
  <!-- :loading="loading"-->
14
14
  <!-- :fit="fit"-->
15
+ <!-- @error="emit('error', $event)"-->
15
16
  <!-- />-->
16
17
  <img
17
18
  v-bind="$attrs"
@@ -109,6 +109,7 @@ export const useUser = (apiService) => {
109
109
  };
110
110
 
111
111
  const signOut = () => {
112
+ const {generateLink} = useGenerateLink();
112
113
  const cookie = useCookie('jwtoken', { path: '/', secure: true, httpOnly: false });
113
114
  cookie.value = undefined; // или null
114
115
  document.cookie = "jwtoken=; path=/; domain=gay.cool; expires=Thu, 01 Jan 1970 00:00:00 GMT; Secure";;
@@ -117,7 +118,7 @@ export const useUser = (apiService) => {
117
118
  profile.value = null;
118
119
 
119
120
  const router = useRouter();
120
- router.push('/');
121
+ router.push(generateLink('/'));
121
122
  };
122
123
 
123
124
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.435",
4
+ "version": "0.0.439",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {