Closure-RI commited on
Commit
0fbd5de
1 Parent(s): 153bfb1

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +1 -1
app.js CHANGED
@@ -19,7 +19,7 @@ app.use(express.urlencoded({ extended: false }));
19
  app.use(cookieParser());
20
  app.use(express.static(path.join(__dirname, 'public')));
21
  let temp = path.join(os.tmpdir())
22
- app.use('/tmp', express.static(tempDir));
23
  app.use('/', indexRouter);
24
  app.use('/users', usersRouter);
25
 
 
19
  app.use(cookieParser());
20
  app.use(express.static(path.join(__dirname, 'public')));
21
  let temp = path.join(os.tmpdir())
22
+ app.use('/tmp', express.static(temp));
23
  app.use('/', indexRouter);
24
  app.use('/users', usersRouter);
25