Authored by 陈峰

sourcemap header

... ... @@ -23,6 +23,7 @@ r.get('/load', (ctx, next) => {
const fileName = path.basename(filePath)
ctx.set('Content-Type', 'application/javascript; charset=utf-8');
ctx.set('SourceMap', '1');
ctx.response.body = rs;
return;
}
... ...