Make version number visible in UI

This commit is contained in:
Laszlo Fogas
2019-11-12 21:42:05 +01:00
parent 8dee34878d
commit 0970d3a971
3 changed files with 27 additions and 20 deletions

View File

@@ -96,6 +96,9 @@ const partials = `
{{end}}
{{define "version"}}
<script>
window.DRONE_VERSION = {{ .version }};
</script>
<meta name="version" content="{{ .version }}">
{{end}}