propro-utils 1.5.39 → 1.5.41

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.39",
3
+ "version": "1.5.41",
4
4
  "description": "Auth middleware for propro-auth",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -369,8 +369,7 @@ class AuthMiddleware {
369
369
  headers.Authorization = `Bearer ${accessToken}`;
370
370
  }
371
371
 
372
- // let formattedAuthUrl = formatRedirectUrl(this.options.authUrl) + path;
373
- let formattedAuthUrl = formatRedirectUrl('localhost:8182') + path;
372
+ let formattedAuthUrl = formatRedirectUrl(this.options.authUrl) + path;
374
373
 
375
374
  if (!accessToken) {
376
375
  formattedAuthUrl = `${formattedAuthUrl}?clientId=${this.options.clientId}&redirectUri=${this.options.redirectUri}`;