This commit is contained in:
2023-04-03 12:01:49 +10:00
parent 5cc67501d3
commit 81d67088f3

View File

@@ -36,6 +36,7 @@ func main() {
os.Exit(1)
}
log.SetOutput(logfileWriter)
log.Printf("CCSecrets starting execution. Built on %s from sha1 %s\n", buildTime, sha1ver)
// Initiate connection to sqlite and make sure our schema is up to date
models.ConnectDatabase()
@@ -58,7 +59,6 @@ func main() {
// TODO - think of a better default landing page
router.GET("/", func(c *gin.Context) {
//time.Sleep(10 * time.Second)
c.String(http.StatusOK, fmt.Sprintf("Built on %s from sha1 %s\n", buildTime, sha1ver))
})