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: . context: .
file: dev/build/Dockerfile file: dev/build/Dockerfile
push: true push: true
platforms: linux/amd64,linux/arm64 platforms: linux/amd64
# platforms: linux/amd64,linux/arm64
tags: | tags: |
ghcr.io/requarks/wiki:3.0.0-alpha ghcr.io/requarks/wiki:3.0.0-alpha
ghcr.io/requarks/wiki:${{ env.REL_VERSION }} ghcr.io/requarks/wiki:${{ env.REL_VERSION }}

@ -26,7 +26,9 @@ defaults:
logFormat: default logFormat: default
offline: false offline: false
dataPath: ./data 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: icons:
# Iconify API the wiki fetches icons from the first time they are used. Point this at a # 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. # self-hosted Iconify API to keep icon lookups inside your network.

Loading…
Cancel
Save