Dynamic year in footer page

This commit is contained in:
Khanh Ngo 2021-11-21 21:55:12 +01:00
parent 7f37d5f03b
commit a4ccdd081f
No known key found for this signature in database
GPG key ID: 920A7D645DCB23DF

View file

@ -238,7 +238,7 @@
<div class="float-right d-none d-sm-block">
<b>Version</b> {{ .appVersion }}
</div>
<strong>Copyright &copy; 2020 <a href="https://github.com/ngoduykhanh/wireguard-ui">Wireguard UI</a>.</strong> All rights
<strong>Copyright &copy; <script>document.write(new Date().getFullYear())</script> <a href="https://github.com/ngoduykhanh/wireguard-ui">Wireguard UI</a>.</strong> All rights
reserved.
</footer>