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 06007f0 commit 368a82bCopy full SHA for 368a82b
src/core.ts
@@ -186,12 +186,12 @@ export class Core extends Module {
186
private static prepareQueryString(fragmentAttributes: Record<string, string>) {
187
const attributes = Object.assign(window.location.search.slice(1).split('&').reduce((dict: { [name: string]: string }, i) => {
188
const [key, value] = i.split('=');
189
- if (typeof value !== "undefined" && key !== "source") {
+ if (typeof value !== "undefined") {
190
dict[key] = value;
191
}
192
return dict;
193
}, {}), fragmentAttributes);
194
-
+ delete attributes.source;
195
return Object.keys(attributes).reduce((query: string, key: string) => `${query}&${key}=${attributes[key]}`, '?__renderMode=stream');
196
197
0 commit comments