Authored by 陈峰

sourcemap api path

Showing 1 changed file with 1 additions and 1 deletions
@@ -42,7 +42,7 @@ app.use(convert(body({ @@ -42,7 +42,7 @@ app.use(convert(body({
42 }))); 42 })));
43 app.use(mount('/', webApp)); 43 app.use(mount('/', webApp));
44 44
45 -app.use(mount('/', api)); 45 +app.use(mount('/api/', api));
46 // app.on('error', function(err, ctx) { 46 // app.on('error', function(err, ctx) {
47 // console.log(err); 47 // console.log(err);
48 // switch (ctx.accepts('json', 'html', 'text')) { 48 // switch (ctx.accepts('json', 'html', 'text')) {