summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-10 18:12:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-10 18:12:39 +0900
commiteb0975e8393e6723f7674203c2a18f3c0589109a (patch)
tree7e4bf7b84f690bf28a929f9c4df30c7a90ebb481 /src/api
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadsharkey-eb0975e8393e6723f7674203c2a18f3c0589109a.tar.gz
sharkey-eb0975e8393e6723f7674203c2a18f3c0589109a.tar.bz2
sharkey-eb0975e8393e6723f7674203c2a18f3c0589109a.zip
oops
Diffstat (limited to 'src/api')
-rw-r--r--src/api/service/twitter.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/service/twitter.ts b/src/api/service/twitter.ts
index 573895e8fe..0e75ee0bdb 100644
--- a/src/api/service/twitter.ts
+++ b/src/api/service/twitter.ts
@@ -23,7 +23,7 @@ module.exports = (app: express.Application) => {
return url[url.length - 1] === '/' ? url.substr(0, url.length - 1) : url;
}
- // req.headers['cookie'] は常に string ですが、型定義の都合上
+ // req.headers['referer'] は常に string ですが、型定義の都合上
// string | string[] になっているので string を明示しています
const referer = req.headers['referer'] as string;