mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-10-26 15:00:27 +01:00
Merge pull request #46 from StarFleetCPTN/development
Fix GetReleaseURL to dynamically use AppVersion in the release URL fo…
This commit is contained in:
1 file changed
+1
-1
@@ -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