Commit 62b7b60c authored by Aaron Harder's avatar Aaron Harder

URL shortcut: add /bl shortcut to rooted routes

parent fc59e413
......@@ -18,6 +18,14 @@ module.exports = function(options){
});
////////////////////////////////////////////////////////////////////////////////////
router.all("/bl", function(req, res, next){
var config=req.bl.config;
req.url = config.appsMount + "blacklight/edit/home";
next('route');
});
////////////////////////////////////////////////////////////////////////////////////
router.get("/libs/granite/csrf/token.json", function(req, res, next){
proxy.process(null,{express:{req, res}},function(){});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment