Skip to content

Commit

Permalink
Add 'dpr' key to Sanity provider
Browse files Browse the repository at this point in the history
Added `dpr` as key to be able to control the pixel density of the image
  • Loading branch information
podlebar authored Mar 30, 2023
1 parent c6a7c9b commit 70e032b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runtime/providers/sanity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const operationsGenerator = createOperationsGenerator({
// Convenience modifiers
background: 'bg',
download: 'dl',
dpr: 'dpr',
sharpen: 'sharp',
orientation: 'or',
'min-height': 'min-h',
Expand Down

0 comments on commit 70e032b

Please sign in to comment.