From 1141272165204696be6fe89f13fdf94c56b34515 Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Fri, 13 Aug 2021 10:00:34 +0200 Subject: [PATCH] add module loading --- front/dist/iframe.html | 1 + 1 file changed, 1 insertion(+) diff --git a/front/dist/iframe.html b/front/dist/iframe.html index c8fafb4b..7f48db73 100644 --- a/front/dist/iframe.html +++ b/front/dist/iframe.html @@ -10,6 +10,7 @@ const urlParams = new URLSearchParams(window.location.search); const scriptUrl = urlParams.get('script'); const script = document.createElement('script'); + script.type = "module"; script.src = scriptUrl; document.head.append(script);