feat(cli-serve): modify UI (#324)

This commit is contained in:
Miralem Drek
2020-02-21 16:02:57 +01:00
committed by GitHub
parent 10746c6080
commit 72be878d63
12 changed files with 253 additions and 202 deletions

View File

@@ -114,9 +114,11 @@ module.exports = async ({
});
});
if (serveConfig.assets) {
app.use('/assets', express.static(serveConfig.assets));
if (serveConfig.resources) {
app.use('/resources', express.static(serveConfig.resources));
}
app.use('/assets', express.static(path.resolve(__dirname, '../assets')));
},
proxy: [
{