Permalink
Browse files

config static folder for loopback

  • Loading branch information...
toanalien committed Sep 5, 2017
1 parent 58892cd commit dfefc85de4c29417f100d3349f4f4801e2ba7300
Showing with 6 additions and 2 deletions.
  1. +1 −1 server/boot/root.js
  2. +5 −1 server/middleware.json
@@ -3,6 +3,6 @@
module.exports = function(server) {
// Install a `/` route that returns server status
var router = server.loopback.Router();
router.get('/', server.loopback.status());
// router.get('/', server.loopback.status());
server.use(router);
};
@@ -40,7 +40,11 @@
]
}
},
"files": {},
"files": {
"loopback#static": {
"params": "$!../client/dist"
}
},
"final": {
"loopback#urlNotFound": {}
},

0 comments on commit dfefc85

Please sign in to comment.