fixed twitch authentication

This commit is contained in:
2025-08-25 12:48:30 +02:00
parent 4e1b4bad0a
commit 4f8510bac8
7 changed files with 61 additions and 16 deletions

View File

@@ -4,6 +4,7 @@ import (
"os"
"path/filepath"
"sync"
"time"
"gopkg.in/yaml.v3"
)
@@ -32,8 +33,9 @@ type Config struct {
FrontendPath string `yaml:"frontend_path"`
AutoArchive bool `yaml:"auto_archive"`
Twitch struct {
ClientId string `yaml:"client_id"`
ClientSecret string `yaml:"client_secret"`
ClientId string `yaml:"client_id"`
ClientSecret string `yaml:"client_secret"`
CheckInterval time.Duration `yaml:"check_interval"`
} `yaml:"twitch"`
}