fix: default body parser limit format

scarlett
NGPixel 1 month ago
parent dd37744ec5
commit 4c6d5c4009
No known key found for this signature in database

@ -57,7 +57,8 @@ jobs:
context: .
file: dev/build/Dockerfile
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
# platforms: linux/amd64,linux/arm64
tags: |
ghcr.io/requarks/wiki:3.0.0-alpha
ghcr.io/requarks/wiki:${{ env.REL_VERSION }}

@ -26,7 +26,9 @@ defaults:
logFormat: default
offline: false
dataPath: ./data
bodyParserLimit: 5mb
# In BYTES. Fastify's `bodyLimit` takes an integer and refuses anything else at boot, unlike the
# 2.x body parser this default was written for, which took '5mb'.
bodyParserLimit: 5242880
icons:
# Iconify API the wiki fetches icons from the first time they are used. Point this at a
# self-hosted Iconify API to keep icon lookups inside your network.

Loading…
Cancel
Save