Skip to content

Commit 49bfb9b

Browse files
committed
Bump place file size limit to 100MB
1 parent cd623ec commit 49bfb9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Site/src/routes/(main)/place/[id=asset]/[name]/settings/+page.server.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ actions.data = async e => {
177177

178178
const { file } = form.data
179179
form.data.file = undefined as unknown as File
180-
if (file.size > 50e6)
180+
if (file.size > 100e6)
181181
return formError(
182182
form,
183183
["file"],
184-
["File must be less than 50MB in size"]
184+
["File must be less than 100MB in size"]
185185
)
186186

187187
await Bun.write(`../data/places/${id}`, file)

0 commit comments

Comments
 (0)