mirror of
https://github.com/LowderPlay/cheburcheck.git
synced 2026-10-19 07:35:09 +00:00
fix: configure upload limits
This commit is contained in:
parent
aa4ab6fc37
commit
14f1b0c934
3 changed files with 6 additions and 5 deletions
|
|
@ -1,5 +0,0 @@
|
|||
[default]
|
||||
template_dir = "website/templates/"
|
||||
|
||||
[global.limits]
|
||||
msgpack = 33554432
|
||||
|
|
@ -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
5
website/Rocket.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[default]
|
||||
template_dir = "templates/"
|
||||
|
||||
[global.limits]
|
||||
msgpack = "32 MiB"
|
||||
Loading…
Add table
Add a link
Reference in a new issue