mirror of
https://github.com/h44z/wg-portal.git
synced 2025-08-25 14:31:14 +00:00
version 1.0.6, show version in footer
This commit is contained in:
@@ -69,6 +69,7 @@ type StaticData struct {
|
||||
WebsiteLogo string
|
||||
CompanyName string
|
||||
Year int
|
||||
Version string
|
||||
}
|
||||
|
||||
type Server struct {
|
||||
@@ -253,6 +254,7 @@ func (s *Server) getStaticData() StaticData {
|
||||
WebsiteLogo: "/img/header-logo.png",
|
||||
CompanyName: s.config.Core.CompanyName,
|
||||
Year: time.Now().Year(),
|
||||
Version: Version,
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1,3 +1,3 @@
|
||||
package server
|
||||
|
||||
var Version = "1.0.5"
|
||||
var Version = "1.0.6"
|
||||
|
Reference in New Issue
Block a user