itube-specs 0.0.696 → 0.0.699

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.
@@ -112,7 +112,8 @@ export const useUser = (apiService) => {
112
112
  const {generateLink} = useGenerateLink();
113
113
  const cookie = useCookie('jwtoken', { path: '/', secure: true, httpOnly: false });
114
114
  cookie.value = undefined; // или null
115
- document.cookie = "jwtoken=; path=/; domain=gay.cool; expires=Thu, 01 Jan 1970 00:00:00 GMT; Secure";;
115
+ const domain = useRuntimeConfig().public.xDomain;
116
+ document.cookie = `jwtoken=; path=/; domain=${domain}; expires=Thu, 01 Jan 1970 00:00:00 GMT; Secure`;
116
117
 
117
118
  const profile = useState<IProfileData | null>('profileData');
118
119
  profile.value = null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.696",
4
+ "version": "0.0.699",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {