mirror of
https://github.com/thiloho/archtika.git
synced 2025-11-22 02:41:35 +01:00
Add theme toggle for templates
This commit is contained in:
@@ -21,7 +21,7 @@ BEGIN
|
||||
SELECT
|
||||
UNNEST(_allowed_mimetypes))) THEN
|
||||
RAISE invalid_parameter_value
|
||||
USING message = 'Invalid MIME type. Allowed types are: png, jpg, webp';
|
||||
USING message = 'Invalid MIME type. Allowed types are: png, jpg, webp, avif, gif, svg';
|
||||
ELSIF OCTET_LENGTH($1) > _max_file_size THEN
|
||||
RAISE program_limit_exceeded
|
||||
USING message = FORMAT('File size exceeds the maximum limit of %s MB', _max_file_size / (1024 * 1024));
|
||||
@@ -56,7 +56,7 @@ BEGIN
|
||||
SELECT
|
||||
m.blob
|
||||
FROM
|
||||
internal.media m
|
||||
internal.media AS m
|
||||
WHERE
|
||||
m.id = retrieve_file.id INTO _blob;
|
||||
IF FOUND THEN
|
||||
|
||||
Reference in New Issue
Block a user