UNPKG

@researchdatabox/sails-hook-redbox-omero

Version:

A Sails hook to add functionality to redbox that provisions OMERO

14 lines 463 B
module.exports = function (sails) { return { initialize: function (cb) { const initPreReq = ["hook:redbox-storage-mongo:loaded"]; sails.after(initPreReq, function() { global.ConfigService.mergeHookConfig('@researchdatabox/sails-hook-redbox-omero', sails.config); return cb(); }); }, //If each route middleware do not exist sails.lift will fail during hook.load() routes: {}, configure: function () {} } };