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:
parent
11b796bcc7
commit
8412a27690
3 changed files with 8 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue