diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-09 19:58:55 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-07-09 19:58:55 -0400 |
commit | dc807afc7b2b0bbeb22378b4e1603eaec688615e (patch) | |
tree | 39349478d57d993773f01a0dfb426214f4ec8d4e /src | |
parent | e9189e389adbbbc6c13281b4fa4ea2a5c0076275 (diff) |
last cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/server/index.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/index.ts b/src/server/index.ts index 554bdad17..2073046ce 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -40,7 +40,6 @@ import { Search } from './Search'; import { debug } from 'util'; import _ = require('lodash'); import { Response } from 'express-serve-static-core'; -import { DocServer } from '../client/DocServer'; const MongoStore = require('connect-mongo')(session); const mongoose = require('mongoose'); const probe = require("probe-image-size"); @@ -83,7 +82,6 @@ app.use(passport.initialize()); app.use(passport.session()); app.use((req, res, next) => { res.locals.user = req.user; - // res.locals.target = req.session!.target; next(); }); |