propro-utils 1.5.90 → 1.5.91

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "propro-utils",
3
- "version": "1.5.90",
3
+ "version": "1.5.91",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -108,6 +108,9 @@ const setAuthCookies = async (res, tokens, account, user, appUrl) => {
108
108
  if (domain?.includes('localhost')) {
109
109
  domain = undefined;
110
110
  }
111
+ if (domain?.includes('propro.so')) {
112
+ domain = 'propro.so';
113
+ }
111
114
  } catch (error) {
112
115
  console.error('Invalid appUrl:', { error, appUrl });
113
116
  domain = undefined;