Browse Source

Packages fix

pull/1/head
NGPixel 8 years ago
parent
commit
2f7056a29e
4 changed files with 5 additions and 3 deletions
  1. 2
      controllers/auth.js
  2. 2
      gulpfile.js
  3. 2
      models/git.js
  4. 2
      package.json

2
controllers/auth.js

@ -2,7 +2,7 @@ var express = require('express');
var router = express.Router();
var passport = require('passport');
var ExpressBrute = require('express-brute');
var ExpressBruteLokiStore = require('D:\\git\\express-brute-loki');
var ExpressBruteLokiStore = require('express-brute-loki');
var moment = require('moment');
/**

2
gulpfile.js

@ -19,7 +19,7 @@ var include = require("gulp-include");
*/
var paths = {
scriptlibs: [
'./node_modules/lodash/lodash.min.js',
'./node_modules/lodash/lodash.min.js',
'./node_modules/jquery/dist/jquery.min.js',
'./node_modules/vue/dist/vue.min.js',
'./node_modules/jquery-smooth-scroll/jquery.smooth-scroll.min.js',

2
models/git.js

@ -86,7 +86,7 @@ module.exports = {
winston.info('[GIT] Using existing repository...');
repoInitOperation = NodeGit.Repository.open(self._repo.path);
} else if(appconfig.git.remote) {
} else if(appconfig.git.mode === 'remote') {
winston.info('[GIT] Cloning remote repository for first time...');
let cloneOptions = self._generateCloneOptions(appconfig);

2
package.json

@ -43,12 +43,14 @@
"cookie-parser": "^1.4.3",
"express": "^4.14.0",
"express-brute": "^1.0.0",
"express-brute-loki": "^1.0.0",
"express-session": "^1.14.0",
"express-validator": "^2.20.8",
"highlight.js": "^9.6.0",
"i18next": "^3.4.1",
"i18next-express-middleware": "^1.0.1",
"i18next-node-fs-backend": "^0.1.2",
"jquery-smooth-scroll": "^2.0.0",
"js-yaml": "^3.6.1",
"lodash": "^4.15.0",
"lokijs": "^1.4.1",

Loading…
Cancel
Save