1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
This commit is contained in:
ivaosthu 2016-11-12 11:24:50 +01:00
parent ce5258e6a6
commit b34db9db7e

4
app.js
View File

@ -21,10 +21,10 @@ module.exports = function (config) {
app.locals.baseUriPath = baseUriPath;
app.use(cookieParser());
/* if (publicFolder) {
if (publicFolder) {
app.use(favicon(path.join(publicFolder, 'favicon.ico')));
}
*/
app.use(validator([]));
if (publicFolder) {
app.use(baseUriPath, express.static(publicFolder));