mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-01 05:52:01 +01:00
Disable needless header
This commit is contained in:
parent
d636de090d
commit
d23de60b8b
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ import parseAcct from '../common/user/parse-acct';
|
||||||
import User, { ILocalAccount } from '../models/user';
|
import User, { ILocalAccount } from '../models/user';
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
|
app.disable('x-powered-by');
|
||||||
|
|
||||||
app.get('/@:user', async (req, res, next) => {
|
app.get('/@:user', async (req, res, next) => {
|
||||||
const accepted = req.accepts(['html', 'application/activity+json', 'application/ld+json']);
|
const accepted = req.accepts(['html', 'application/activity+json', 'application/ld+json']);
|
||||||
|
|
Loading…
Reference in a new issue