...
|
...
|
@@ -11,7 +11,9 @@ r.get('/load', (ctx, next) => { |
|
|
if (!reqPath) {
|
|
|
return next();
|
|
|
}
|
|
|
reqPath = reqPath.split('?')[0];
|
|
|
reqPath += '.map';
|
|
|
console.log(reqPath)
|
|
|
const filePath = path.join(config.sourceMapDir, reqPath);
|
|
|
|
|
|
if (fs.existsSync(filePath)) {
|
...
|
...
|
|