From 6a57e5cfe89d18a25647f86397093c2e8a99ae5a Mon Sep 17 00:00:00 2001 From: Holly Date: Wed, 20 Apr 2022 07:26:39 +0100 Subject: [PATCH] More headers that don't need to be sent --- server/loginHandler.js | 1 - server/serverHandler.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/server/loginHandler.js b/server/loginHandler.js index 9746740..8304f8a 100644 --- a/server/loginHandler.js +++ b/server/loginHandler.js @@ -147,7 +147,6 @@ module.exports = async function(req, res, loginInfo) { // Complete login res.writeHead(200, { "cho-token": NewUser.uuid, - "cho-protocol": global.protocolVersion, "Connection": "keep-alive", "Keep-Alive": "timeout=5, max=100", }); diff --git a/server/serverHandler.js b/server/serverHandler.js index 8c9a120..7990b03 100644 --- a/server/serverHandler.js +++ b/server/serverHandler.js @@ -319,8 +319,6 @@ module.exports = async function(req, res) { res.removeHeader('X-Powered-By'); res.removeHeader('Date'); res.writeHead(200, { - "cho-protocol": global.protocolVersion, - // Nice to have :) "Connection": "keep-alive", "Keep-Alive": "timeout=5, max=100", });