Skip to content

Commit

Permalink
Increase maximum size from 500 MB to 50 GB
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Jul 8, 2023
1 parent 3719783 commit 473d796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/upload/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { Middleware } from "koa"

export const TUS_RESUMABLE = "1.0.0"
export const TUS_EXTENSIONS = ["creation", "expiration"]
export const TUS_MAX_SIZE = 500 * 1000 * 1000 // 500 mb
export const TUS_MAX_SIZE = 50 * 1024 * 1024 * 1024 // 50 GB

export const setTusHeaders: Middleware = async (ctx, next) => {
ctx.set("Tus-Extension", TUS_EXTENSIONS.join(","))
Expand Down

0 comments on commit 473d796

Please sign in to comment.