make agnostic forge links

This commit is contained in:
jums
2025-02-27 09:56:05 +01:00
committed by maxlath
parent 93d7955d99
commit e077f29cba
3 changed files with 10 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ server {
# for locally hosted images
# or /img/remote/300x1200/630022006?href=http%3A%2F%2Fescaped.url
# for remote images, with 630022006 being the hash of the passed href
# generated by [hashCode](https://github.com/inventaire/inventaire/blob/35b1e63/server/lib/utils/base.js#L69-L80)
# generated by [hashCode](https://git.inventaire.io/inventaire/blob/35b1e63/server/lib/utils/base.js#L69-L80)
# The hack: I couldn't make the proxy_store work: it never hits the cache, but
# it does put the resized images in /tmp/nginx/resize, so using a try_files