diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-17 03:24:58 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-18 15:10:34 -0500 |
commit | 87136f77d726a650c4f02feafe4283aa78eaf27a (patch) | |
tree | 4cf6c5205aaf57849eb301484ff4f0937e462cf2 /streaming | |
parent | 92616f265c14c9f23c42f9ed31db822ce5e5a315 (diff) |
privacy - require authentication on all timeline endpoints to make life difficult for fediverse archivers
Diffstat (limited to 'streaming')
-rw-r--r-- | streaming/index.js | 7 |
1 files changed, 0 insertions, 7 deletions
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) => { |