@percy/dom 1.28.3-beta.1 → 1.28.4-beta.0

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/bundle.js +1 -1
  2. package/package.json +2 -2
package/dist/bundle.js CHANGED
@@ -164,7 +164,7 @@
164
164
  return sheet;
165
165
  }
166
166
  function rewriteLocalhostURL(url) {
167
- return url.replace(/(http[s]{0,1}:\/\/)localhost[:\d+]*/, '$1render.percy.local');
167
+ return url.replace(/(http[s]{0,1}:\/\/)(localhost|127.0.0.1)[:\d+]*/, '$1render.percy.local');
168
168
  }
169
169
 
170
170
  // Returns a mostly random uid.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percy/dom",
3
- "version": "1.28.3-beta.1",
3
+ "version": "1.28.4-beta.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,5 +35,5 @@
35
35
  "devDependencies": {
36
36
  "interactor.js": "^2.0.0-beta.10"
37
37
  },
38
- "gitHead": "3a838eedd0f07f57c6c61cd0cba1c7e20cc95af3"
38
+ "gitHead": "fe4d7e944acd2081d901eb2eed202ccb64098576"
39
39
  }