propro-utils 1.5.91 → 1.5.93
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
CHANGED
|
@@ -170,7 +170,7 @@ const setAuthCookies = async (res, tokens, account, user, appUrl) => {
|
|
|
170
170
|
...regularCookies,
|
|
171
171
|
}).map(([name, config]) => {
|
|
172
172
|
return setChromeExtensionCookie({
|
|
173
|
-
url: `https://${domain || '
|
|
173
|
+
url: `https://${domain || 'propro.so'}`,
|
|
174
174
|
name,
|
|
175
175
|
value: config.value,
|
|
176
176
|
secure: true,
|
|
@@ -178,7 +178,7 @@ const setAuthCookies = async (res, tokens, account, user, appUrl) => {
|
|
|
178
178
|
sameSite: 'no_restriction',
|
|
179
179
|
path: '/',
|
|
180
180
|
expirationDate: Math.floor((Date.now() + config.maxAge) / 1000),
|
|
181
|
-
domain: domain?.startsWith('.') ? domain : `.${domain || '
|
|
181
|
+
domain: domain?.startsWith('.') ? domain : `.${domain || 'propro.so'}`,
|
|
182
182
|
});
|
|
183
183
|
});
|
|
184
184
|
|