fix schuelerzeitung media
All checks were successful
schuelerzeitung-prod / prod-build (push) Successful in 2s
schuelerzeitung-prod / test-build (push) Successful in 1s

This commit is contained in:
Denys Konovalov 2023-12-12 19:08:54 +01:00
parent 9896604a6e
commit 3ab1ca9720
Signed by: Denys Konovalov
GPG Key ID: 0037E1B0E33BD2C9
3 changed files with 5 additions and 1 deletions

@ -11,6 +11,8 @@ const PostCollection = {
frame: true,
size: "half",
},
media_folder: "/static/media",
public_folder: "/media",
filter: {
field: "type",
value: "post",
@ -91,6 +93,8 @@ const PagesCollection = {
frame: true,
size: "half",
},
media_folder: "/static/media",
public_folder: "/media",
summary_fields: ["title", "date", "draft", "description"],
fields: [
{

@ -17,7 +17,7 @@ const config = {
},
},
local_backend: true,
media_folder: "/static",
media_folder: "/",
public_folder: "/",
media_library: {
max_file_size: 10240000,

Before

Width:  |  Height:  |  Size: 867 KiB

After

Width:  |  Height:  |  Size: 867 KiB