We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a8a9f commit 78f3f63Copy full SHA for 78f3f63
lib/utils.js
@@ -99,7 +99,7 @@ export function prepareRequestOptions(request_options, options) {
99
request_options.uri = CONFIG.PRERENDER_URL + encodeURIComponent(uri);
100
101
if (proxy.prerender === 'iframes') {
102
- request_options.uri += '&allow=iframes';
+ request_options.uri += (request_options.uri.indexOf('?') > -1 ? '&' : '?' ) + 'allow=iframes';
103
}
104
105
} else if (proxy.proxy && CONFIG.PROXY_URL) {
0 commit comments