diff options
-rw-r--r-- | app/controllers/api/v1/timelines/public_controller.rb | 1 | ||||
-rw-r--r-- | streaming/index.js | 7 |
2 files changed, 1 insertions, 7 deletions
diff --git a/app/controllers/api/v1/timelines/public_controller.rb b/app/controllers/api/v1/timelines/public_controller.rb index aabe24324..9c3f6c0a8 100644 --- a/app/controllers/api/v1/timelines/public_controller.rb +++ b/app/controllers/api/v1/timelines/public_controller.rb @@ -13,6 +13,7 @@ class Api::V1::Timelines::PublicController < Api::BaseController private def load_statuses + return [] unless user_signed_in? cached_public_statuses end diff --git a/streaming/index.js b/streaming/index.js index eccf5219f..ff375a894 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -250,10 +250,6 @@ const startWorker = (workerId) => { }; const PUBLIC_STREAMS = [ - 'public', - 'public:media', - 'public:local', - 'public:local:media', 'hashtag', 'hashtag:local', ]; @@ -273,10 +269,7 @@ const startWorker = (workerId) => { }; const PUBLIC_ENDPOINTS = [ - '/api/v1/streaming/public', - '/api/v1/streaming/public/local', '/api/v1/streaming/hashtag', - '/api/v1/streaming/hashtag/local', ]; const authenticationMiddleware = (req, res, next) => { |