File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 35
35
"method-override" : " ^3.0.0" ,
36
36
"morgan" : " ^1.9.1" ,
37
37
"nanoid" : " ^2.1.0" ,
38
- "object-assign" : " ^4.1.1" ,
39
38
"please-upgrade-node" : " ^3.2.0" ,
40
39
"pluralize" : " ^8.0.0" ,
41
40
"request" : " ^2.88.0" ,
Original file line number Diff line number Diff line change @@ -5,15 +5,14 @@ const logger = require('morgan')
5
5
const cors = require ( 'cors' )
6
6
const compression = require ( 'compression' )
7
7
const errorhandler = require ( 'errorhandler' )
8
- const objectAssign = require ( 'object-assign' )
9
8
const bodyParser = require ( './body-parser' )
10
9
11
10
module . exports = function ( opts ) {
12
11
const userDir = path . join ( process . cwd ( ) , 'public' )
13
12
const defaultDir = path . join ( __dirname , '../../dist' )
14
13
const staticDir = fs . existsSync ( userDir ) ? userDir : defaultDir
15
14
16
- opts = objectAssign ( { logger : true , static : staticDir } , opts )
15
+ opts = Object . assign ( { logger : true , static : staticDir } , opts )
17
16
18
17
const arr = [ ]
19
18
You can’t perform that action at this time.
0 commit comments