From d01a3f227cf41b3a548d146b3763f1519a216b46 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 5 Sep 2021 07:48:49 +0100 Subject: [PATCH] Cleaned up some unneccisary redirects --- app.js | 1 + templates/index.html | 4 ++-- templates/post.html | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 3eb1e35..083aa8b 100644 --- a/app.js +++ b/app.js @@ -23,6 +23,7 @@ const striptags = require('striptags'); const port = process.env.PORT || 8000; +app.disable('x-powered-by'); app.use(compress()); app.use(express.static(__dirname + '/build')); diff --git a/templates/index.html b/templates/index.html index 83056cc..f835534 100644 --- a/templates/index.html +++ b/templates/index.html @@ -14,7 +14,7 @@
  • diff --git a/templates/post.html b/templates/post.html index 4903d68..ecd64f8 100644 --- a/templates/post.html +++ b/templates/post.html @@ -8,7 +8,7 @@