• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • doraemon
  • middleware
  • devtools.js
  • dev
    af4de9e7
    by 陈峰
    2017-08-14 16:46:05 +0800  
    Browse Directory »
devtools.js 180 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9
const devHost = require('../../config/devtools');

module.exports = () => {
    return (req, res, next) => {
        Object.assign(res.locals, devHost);

        next();
    };
};