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

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

Before

Width:  |  Height:  |  Size: 867 KiB

After

Width:  |  Height:  |  Size: 867 KiB