1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-07-22 22:59:42 +02:00

Move packages to dev section. Remove unused (#65)

This commit is contained in:
Taly 2019-03-12 16:34:16 +03:00 committed by GitHub
parent 11b796bcc7
commit 8412a27690
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 10 deletions

View file

@ -1,7 +1,6 @@
require('dotenv').config();
const express = require('express');
const bodyParser = require('body-parser');
const jwt = require('jsonwebtoken');
const router = express.Router();
const Users = require('../controllers/users');
@ -9,7 +8,7 @@ const config = require('../../config/index');
const bcrypt = require('bcrypt');
const csrf = require('csurf');
const csrfProtection = csrf({ cookie: true });
const parseForm = bodyParser.urlencoded({ extended: false });
const parseForm = express.urlencoded({ extended: false });
/**
* Authorization page