1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-13 22:28:58 +09:00

Disable needless header

This commit is contained in:
syuilo 2018-04-01 12:43:59 +09:00
parent d636de090d
commit d23de60b8b

View File

@ -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']);