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 4291102 commit a8a8a9fCopy full SHA for a8a8a9f
lib/utils.js
@@ -98,6 +98,10 @@ export function prepareRequestOptions(request_options, options) {
98
if (proxy.prerender && CONFIG.PRERENDER_URL && !options?.prevent_prerender) {
99
request_options.uri = CONFIG.PRERENDER_URL + encodeURIComponent(uri);
100
101
+ if (proxy.prerender === 'iframes') {
102
+ request_options.uri += '&allow=iframes';
103
+ }
104
+
105
} else if (proxy.proxy && CONFIG.PROXY_URL) {
106
request_options.uri = /{url}/.test(CONFIG.PROXY_URL)
107
? CONFIG.PROXY_URL.replace(/{url}/, encodeURIComponent(uri))
0 commit comments