mirror of
https://github.com/djdevin/recflare.git
synced 2026-09-10 07:31:27 -07:00
[api] fix(security): bound API-owned uploads (#56)
Co-authored-by: Nexi (CWN) <communityshieldofficial@gmail.com>
This commit is contained in:
@@ -92,6 +92,12 @@ RECFLARE_DOMAIN=rec.example.com
|
||||
# value must be a positive integer; zero or an invalid value restores the default.
|
||||
# RECFLARE_MAX_UPLOAD_BYTES=67108864
|
||||
|
||||
# Largest file the API worker accepts through either saved-image upload or either
|
||||
# custom-avatar-item file field, in bytes. The default is 64 MiB PER FILE. Larger
|
||||
# parsed files receive HTTP 413 before arrayBuffer() or an R2 write. This complements
|
||||
# RECFLARE_MAX_UPLOAD_BYTES, which protects the separate storage worker.
|
||||
# RECFLARE_MAX_API_UPLOAD_BYTES=67108864
|
||||
|
||||
# Rooms to switch out at matchmake time (`match`), as comma-separated <fromRoomId>=<to>
|
||||
# pairs, where <to> is a room id or room name. This is how a stock RRO room is replaced
|
||||
# with your own: 2=MyHub sends everyone who matchmakes into the Rec Center (room 2) to the
|
||||
|
||||
Reference in New Issue
Block a user