Fix iframe

This commit is contained in:
Pieter Vander Vennet 2020-08-08 22:36:23 +02:00
parent f003a53ee6
commit 00cc0e8af7

View file

@ -360,7 +360,7 @@ export class ThemeGenerator extends UIElement {
const jsonObjectRoot = this.themeObject.data;
const base64 = this.themeObject.map(JSON.stringify).map(btoa);
this.url = base64.map((data) => `${window.location.origin}/index.html?userlayout=true#` + data);
this.url = base64.map((data) => `https://pietervdvn.github.io/MapComplete/index.html?userlayout=true#` + data);
const self = this;
this.allQuestionFields = [
this.JsonField(this.themeObject, "Name of this theme", "name", jsonObjectRoot),