Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion apihelper/src/helpers/S3UploadPolicy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
export const PUBLIC_CONTENT_TYPE_PREFIXES = ["image/", "video/", "audio/", "application/pdf", "font/", "application/font-", "application/vnd.ms-fontobject", "text/css"] as const;
export const PUBLIC_CONTENT_TYPE_PREFIXES = [
"image/",
"video/",
"audio/",
"application/pdf",
"font/",
"application/font-",
"application/vnd.ms-fontobject",
"text/css"
] as const;
export const MAX_UPLOAD_BYTES = 512 * 1024 * 1024;
export const DEFAULT_CONTENT_TYPE = "application/octet-stream";

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"preinstall": "node -e \"if(!(process.env.npm_config_user_agent||'').startsWith('yarn')){console.error('\\n[Packages] This repo uses Yarn (Berry). Run \\'yarn install\\' instead of npm/pnpm.\\n');process.exit(1)}\"",
"build": "yarn workspaces foreach --all --topological run build",
"build": "yarn workspaces foreach --all --topological-dev run build",
"test": "yarn workspaces foreach --all run test",
"lint": "yarn workspaces foreach --all run lint:check",
"changeset": "changeset",
Expand Down
Loading