Skip to content

Commit

Permalink
Modify IPX join separator since X-Nitro-Prerender uses comma
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhlad committed Nov 1, 2022
1 parent e36e333 commit e78cb9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions playground/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const providers: Provider[] = [
from: 'Mount Everest Wikipedia page (alias)',
width: 300,
height: 300,
quality: 70,
link: 'https://en.wikipedia.org/wiki/Mount_Everest'
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/providers/ipx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const operationsGenerator = createOperationsGenerator({
quality: 'q',
background: 'b'
},
joinWith: ',',
joinWith: '&',
formatter: (key, val) => encodeParam(key) + '_' + encodeParam(val)
})

Expand Down

0 comments on commit e78cb9c

Please sign in to comment.