SkunkyArt/main.go

32 lines
508 B
Go
Raw Permalink Normal View History

package main
import (
"skunkyart/app"
"skunkyart/static"
2024-08-01 19:48:05 +00:00
"time"
"git.macaw.me/skunky/devianter"
)
func main() {
2024-09-23 06:38:32 +00:00
app.Release.Version = "1.3.2"
2024-09-03 12:36:19 +00:00
app.Release.Description = "Two API endpoints and template embedding into binary"
2024-08-01 19:48:05 +00:00
go app.RefreshInstances()
app.ExecuteCommandLineArguments()
2024-07-05 21:46:25 +00:00
app.ExecuteConfig()
static.CopyTemplatesToMemory()
2024-08-01 19:48:05 +00:00
go func() {
for {
err := devianter.UpdateCSRF()
if err != nil {
println(err.Error())
}
time.Sleep(12 * time.Hour)
}
}()
app.Router()
}