1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 09:15:38 +02:00

Redisをオプションにしたり

This commit is contained in:
syuilo
2018-10-11 15:50:27 +09:00
parent 57e93b9b4e
commit 1117ce4b54
7 changed files with 43 additions and 39 deletions

View File

@@ -55,7 +55,7 @@ router.get('/disconnect/twitter', async ctx => {
}));
});
if (config.twitter == null) {
if (config.twitter == null || redis == null) {
router.get('/connect/twitter', ctx => {
ctx.body = '現在Twitterへ接続できません (このインスタンスではTwitterはサポートされていません)';
});