From 713480d923d326e273207ec667b27b63429bae67 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 1 Apr 2018 12:43:59 +0900 Subject: [PATCH] Disable needless header --- src/server/activitypub.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts index abcee43d3..a48a8e643 100644 --- a/src/server/activitypub.ts +++ b/src/server/activitypub.ts @@ -6,6 +6,7 @@ import parseAcct from '../common/user/parse-acct'; import User, { ILocalAccount } from '../models/user'; const app = express(); +app.disable('x-powered-by'); app.get('/@:user', async (req, res, next) => { const accepted = req.accepts(['html', 'application/activity+json', 'application/ld+json']);