mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-09-08 15:41:20 +02:00
Merge pull request #46 from StarFleetCPTN/development
Fix GetReleaseURL to dynamically use AppVersion in the release URL fo…
This commit is contained in:
@@ -14,7 +14,7 @@ var AppVersion = "dev"
|
|||||||
|
|
||||||
// GetReleaseURL returns the URL to the specific GitHub release
|
// GetReleaseURL returns the URL to the specific GitHub release
|
||||||
func GetReleaseURL() templ.SafeURL {
|
func GetReleaseURL() templ.SafeURL {
|
||||||
return templ.SafeURL(fmt.Sprintf("https://github.com/starfleetcptn/gomft/releases/tag/v%s", AppVersion))
|
return templ.SafeURL(fmt.Sprintf("https://github.com/starfleetcptn/gomft/releases/tag/%s", AppVersion))
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateTemplateContext creates a new context with user information from Gin's context
|
// CreateTemplateContext creates a new context with user information from Gin's context
|
||||||
|
|||||||
Reference in New Issue
Block a user