fix: configure upload limits

This commit is contained in:
Lowder 2025-12-12 06:41:51 +05:00
parent aa4ab6fc37
commit 14f1b0c934
No known key found for this signature in database
GPG key ID: E63B80B1F1DC187C
3 changed files with 6 additions and 5 deletions

View file

@ -1,5 +0,0 @@
[default]
template_dir = "website/templates/"
[global.limits]
msgpack = 33554432

View file

@ -23,6 +23,7 @@ WORKDIR /app
RUN apt update && apt install -y libssl3 ca-certificates curl
COPY --from=build /build/website/Rocket.toml ./
## copy the main binary
COPY --from=build /build/main ./

5
website/Rocket.toml Normal file
View file

@ -0,0 +1,5 @@
[default]
template_dir = "templates/"
[global.limits]
msgpack = "32 MiB"