mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 13:26:12 +02:00
🔥 Remove the need of static (build time) configuration.
This commit is contained in:
parent
2746d598b0
commit
fb910a24e1
4 changed files with 32 additions and 64 deletions
|
@ -12,13 +12,17 @@
|
|||
<section id="app" tabindex="1"></section>
|
||||
<section id="modal"></section>
|
||||
<script>
|
||||
window.uxboxConfig = JSON.parse({{& config }});
|
||||
window.uxboxTranslations = JSON.parse({{& translations }});
|
||||
window.uxboxThemes = {{& themes }};
|
||||
window.uxboxTranslations = JSON.parse({{& translations }});
|
||||
window.uxboxThemes = {{& themes }};
|
||||
window.uxboxDeployDate = "{{& deployDate }}";
|
||||
window.uxboxDeployCommit = "{{& deployCommit }}";
|
||||
</script>
|
||||
{{# manifest}}
|
||||
<script src="{{& shared}}"></script>
|
||||
<script src="{{& main}}"></script>
|
||||
|
||||
<script>window.uxboxWorkerURI="{{& worker}}"</script>
|
||||
<script src="{{& config}}"></script>
|
||||
<script src="{{& shared}}"></script>
|
||||
<script src="{{& main}}"></script>
|
||||
{{/manifest}}
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue