mirror of
https://git.macaw.me/skunky/SkunkyArt.git
synced 2025-04-03 21:17:35 +03:00
Сервис для опенрц
This commit is contained in:
parent
cd86606f7a
commit
097d58e16c
2 changed files with 17 additions and 1 deletions
|
@ -40,9 +40,14 @@ var CFG = config{
|
|||
|
||||
func ExecuteConfig() {
|
||||
go func() {
|
||||
defer func() {
|
||||
if r := recover(); r != nil {
|
||||
recover()
|
||||
}
|
||||
}()
|
||||
for {
|
||||
Templates["instances.json"] = string(Download("https://git.macaw.me/skunky/SkunkyArt/raw/branch/master/instances.json").Body)
|
||||
time.Sleep(1 * time.Hour)
|
||||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue