我正在使用koa-static在 koajs 上托管一个 emberjs 应用程序。根据以下代码:
var app = koa();
var App1 = koa();
App1.use(stati(__dirname + "/App1"));
app.use(mount('/AppViewer',App1));
app.listen(3000);
调用时localhost:3000/AppViewer
我看不到我的页面并收到错误消息说找不到 .js 和 .css 文件,但调用时localhost:3000/AppViewer/index.html
一切正常。所以我的问题是如何在调用时查看我的页面localhost:3000/AppViewer
。