public 静态资源目录
exports.static = {
prefix: '/public/',
dir: path.join(appInfo.baseDir, 'app/public'),
// dirs: [ dir1, dir2 ] or [ dir1, { prefix: '/static2', dir: dir2 } ],
// support lazy load
dynamic: true,
preload: false,
buffer: false,
maxFiles: 1000,
};
prefix: ‘/‘
prefix: ‘/public’