When accessing uncached media attachment, redownload it (#4955)
* When accessing uncached media attachment, redownload it * Prevent re-download of rejected media
This commit is contained in:
parent
6c81f9d6e5
commit
54edb4b853
5 changed files with 60 additions and 5 deletions
|
@ -98,6 +98,8 @@ Rails.application.routes.draw do
|
|||
resources :media, only: [:show]
|
||||
resources :tags, only: [:show]
|
||||
|
||||
get '/media_proxy/:id/(*any)', to: 'media_proxy#show', as: :media_proxy
|
||||
|
||||
# Remote follow
|
||||
resource :authorize_follow, only: [:show, :create]
|
||||
resource :share, only: [:show, :create]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue