web-manager 4.0.13 → 4.0.14

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -395,7 +395,8 @@ class Manager {
395
395
 
396
396
  urlObj.hostname = hostnameParts.join('.');
397
397
 
398
- return urlObj.toString();
398
+ // Strip trailing slash
399
+ return urlObj.toString().replace(/\/$/, '');
399
400
  }
400
401
 
401
402
  isValidRedirectUrl(url) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web-manager",
3
- "version": "4.0.13",
3
+ "version": "4.0.14",
4
4
  "description": "Easily access important variables such as the query string, current domain, and current page in a single object.",
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",