Move script setting app ID to before the rest of the head, to ensure it's loaded before any custom app scripts
This commit is contained in:
parent
e65f9e40b7
commit
8d8690cad1
|
@ -5,14 +5,12 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<head>
|
<head>
|
||||||
|
<script nonce="{{ nonce }}">
|
||||||
|
window["##BUDIBASE_APP_ID##"] = "{{appId}}"
|
||||||
|
window["##BUDIBASE_APP_EMBEDDED##"] = "{{embedded}}"
|
||||||
|
</script>
|
||||||
{{{head}}}
|
{{{head}}}
|
||||||
<style>{{{css}}}</style>
|
<style>{{{css}}}</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<script nonce="{{ nonce }}">
|
|
||||||
window["##BUDIBASE_APP_ID##"] = "{{appId}}"
|
|
||||||
window["##BUDIBASE_APP_EMBEDDED##"] = "{{embedded}}"
|
|
||||||
</script>
|
|
||||||
|
|
||||||
{{{body}}}
|
{{{body}}}
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue