make adapt test-server-loader to work with playwright webkit

This commit is contained in:
Rene
2021-02-06 01:17:57 +01:00
parent c7f6be778d
commit 1d63bd4ef4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ module.exports = {
process: (src, filePath) => {
const deploymentPath = path.relative(deploymentConfig.root, filePath);
const split = deploymentPath.split(path.sep);
return `module.exports = ${JSON.stringify(`http://localhost:${deploymentConfig.port}/${path.posix.join(...split)}`)}`;
return `module.exports = ${JSON.stringify(`http://127.0.0.1:${deploymentConfig.port}/${path.posix.join(...split)}`)}`;
},
};