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

+1 -1
View File
@@ -17,7 +17,7 @@ $jsFiles = [
<div class="grid">
<h1>
<a href="/maps" title="Back to playable maps">
<img class="inline" src="/static/img/icon.svg">
<img class="inline" src="<?= $_ENV['STATIC_ROOT'] ?>/img/icon.svg?rev=<?= REVISION ?>">
<span>MapGuesser</span>
</a>
</h1>