14 lines
318 B
JavaScript
14 lines
318 B
JavaScript
|
|
module.exports = function(server) {
|
|
let router = server.loopback.Router();
|
|
router.get('/status', server.loopback.status());
|
|
server.use(router);
|
|
/*
|
|
let ds = server.dataSources.auth;
|
|
//ds.automigrate(function() {
|
|
ds.autoupdate(function() {
|
|
console.log('Tables migrated!');
|
|
});
|
|
*/
|
|
};
|