Skip to content

Commit

Permalink
fix: apply config.form.image.directUploads
Browse files Browse the repository at this point in the history
  • Loading branch information
stipsan authored and rexxars committed Dec 21, 2022
1 parent 8494ac0 commit cf52ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sanity/src/core/config/prepareConfig.ts
Expand Up @@ -491,7 +491,7 @@ function resolveSource({
directUploads:
// TODO: consider refactoring this to `noDirectUploads` or similar
// default value for this is `true`
config.form?.file?.directUploads === undefined ? true : config.form.file.directUploads,
config.form?.image?.directUploads === undefined ? true : config.form.image.directUploads,
},
},

Expand Down

1 comment on commit cf52ee7

@vercel
Copy link

@vercel vercel bot commented on cf52ee7 Dec 21, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

test-studio – ./

test-studio-git-next.sanity.build
test-studio.sanity.build

Please sign in to comment.