mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 15:26:08 +02:00
[Server] ✌️
This commit is contained in:
@@ -28,9 +28,6 @@ app.use(compression());
|
||||
*/
|
||||
app.use((req, res, next) => {
|
||||
res.header('X-Frame-Options', 'DENY');
|
||||
|
||||
res.locals.user = ((req.headers['cookie'] || '').match(/i=(!\w+)/) || [null, null])[1];
|
||||
|
||||
next();
|
||||
});
|
||||
|
||||
@@ -51,8 +48,6 @@ app.get(/\/api:meta/, require('./meta'));
|
||||
app.get(/\/api:url/, require('./service/url-preview'));
|
||||
app.post(/\/api:rss/, require('./service/rss-proxy'));
|
||||
|
||||
require('./service/twitter')(app);
|
||||
|
||||
/**
|
||||
* Subdomain
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user