mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Disable needless header
This commit is contained in:
parent
2617c07f9a
commit
713480d923
@ -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']);
|
||||
|
Loading…
Reference in New Issue
Block a user