add module loading
This commit is contained in:
parent
0365fcb24d
commit
1141272165
1
front/dist/iframe.html
vendored
1
front/dist/iframe.html
vendored
@ -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);
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user