MAPG-28 fix static asset paths (add STATIC_ROOT and REVISION)

This commit is contained in:
bence committed 2020-06-12 20:13:43 +02:00
1 parent 06a0722899
commit 2ef67d53f4
7 files changed
+19 -15

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
<script>
const STATIC_ROOT = '<?= $_ENV['STATIC_ROOT'] ?>';
const REVISION = '<?= REVISION ?>';
</script>
<?php if (isset($jsFiles)) : ?>
<?php foreach ($jsFiles as $jsFile) : ?>
<?php