mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-19 01:20:37 +03:00
make adapt test-server-loader to work with playwright webkit
This commit is contained in:
@@ -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)}`)}`;
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user