Proxy media that aren't cached
This commit is contained in:
parent
9746508dab
commit
5e4f57a8b3
2 changed files with 21 additions and 1 deletions
|
@ -249,7 +249,7 @@ def _get_file_url(url, size, kind) -> str:
|
|||
|
||||
# MEDIA_CACHE.cache(url, kind)
|
||||
_logger.error(f"cache not available for {url}/{size}/{kind}")
|
||||
return url
|
||||
return f"/p/{url}"
|
||||
|
||||
|
||||
@filters.app_template_filter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue