fix IsNew() func, include LICENSE in goreleaser

This commit is contained in:
Harvey Tindall
2021-03-07 16:45:35 +00:00
parent f685582e1a
commit 21490faa9e
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -72,6 +72,7 @@ func (app *appContext) AdminPage(gc *gin.Context) {
var license string
l, err := fs.ReadFile(localFS, "LICENSE")
if err != nil {
app.debug.Printf("Failed to load LICENSE: %s", err)
license = ""
}
license = string(l)