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>
|
||||
<head>
|
||||
<script nonce="{{ nonce }}">
|
||||
window["##BUDIBASE_APP_ID##"] = "{{appId}}"
|
||||
window["##BUDIBASE_APP_EMBEDDED##"] = "{{embedded}}"
|
||||
</script>
|
||||
{{{head}}}
|
||||
<style>{{{css}}}</style>
|
||||
</head>
|
||||
|
||||
<script nonce="{{ nonce }}">
|
||||
window["##BUDIBASE_APP_ID##"] = "{{appId}}"
|
||||
window["##BUDIBASE_APP_EMBEDDED##"] = "{{embedded}}"
|
||||
</script>
|
||||
|
||||
{{{body}}}
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue