2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-12-16 09:18:10 +00:00

feat(backend): add storages to make usage of s3/sftp easier (#10140)

* feat(backend): add storages to make usage of S3 easy

* add S3/SFTP settings

* add changelog entry

* also configure static

* get it running on hetzner / exo

* doc additional settings

* fix style

* adress various review comments

* move setting files

* use enum for backends

* revert change

* split up storage settings

* fix comparison
This commit is contained in:
Matthias Mair
2025-10-29 21:57:22 +01:00
committed by GitHub
parent c1bbef1a4d
commit 6581af7165
13 changed files with 299 additions and 6 deletions

View File

@@ -71,9 +71,7 @@ function PartThumbComponent({
color = hoverColor;
}
const src: string | undefined = element?.image
? `/media/${element?.image}`
: undefined;
const src: string | undefined = element?.image ? element?.image : undefined;
return (
<Paper