From a05e69b85566c17cf9541048a6e425c827d02146 Mon Sep 17 00:00:00 2001 From: Unknown Date: Fri, 30 Jun 2017 08:20:42 +0200 Subject: [PATCH] Removed cookie dependencies Removed module import and dependency on the 'cookie' library; it's not used anymore --- clientonly/index.js | 1 - package.json | 1 - 2 files changed, 2 deletions(-) diff --git a/clientonly/index.js b/clientonly/index.js index 4eeabf42..750a98e6 100644 --- a/clientonly/index.js +++ b/clientonly/index.js @@ -4,7 +4,6 @@ // Use seperate scope to prevent global scope pollution (function () { - const cookie = require("cookie"); var config = {}; // Helper function to get server address/hostname from either the commandline or env diff --git a/package.json b/package.json index 64a01a6d..fe64cc41 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,6 @@ "dependencies": { "body-parser": "^1.17.2", "colors": "^1.1.2", - "cookie": "^0.3.1", "electron": "^1.6.10", "express": "^4.15.3", "express-ipfilter": "latest",