mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-28 03:55:07 +03:00
v1.3
This commit is contained in:
parent
2dfeaae772
commit
c5514c3875
23 changed files with 445 additions and 249 deletions
18
main.go
18
main.go
|
@ -2,17 +2,27 @@ package main
|
|||
|
||||
import (
|
||||
"skunkyart/app"
|
||||
"time"
|
||||
|
||||
"git.macaw.me/skunky/devianter"
|
||||
)
|
||||
|
||||
func main() {
|
||||
go app.RefreshInstances()
|
||||
|
||||
app.ExecuteCommandLineArguments()
|
||||
app.ExecuteConfig()
|
||||
app.CopyTemplatesToMemory()
|
||||
err := devianter.UpdateCSRF()
|
||||
if err != nil {
|
||||
println(err.Error())
|
||||
}
|
||||
|
||||
go func() {
|
||||
for {
|
||||
err := devianter.UpdateCSRF()
|
||||
if err != nil {
|
||||
println(err.Error())
|
||||
}
|
||||
time.Sleep(12 * time.Hour)
|
||||
}
|
||||
}()
|
||||
|
||||
app.Router()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue