Feat: add cleaner cron
This commit is contained in:
		| @@ -13,6 +13,7 @@ type Config struct { | ||||
| 	SessionLifetime int64        `toml:"SESSION_LIFETIME_SECONDS"` | ||||
| 	CookieSecret    string       `toml:"COOKIE_SECRET"` | ||||
| 	LLMConfig       LLMConfig    `toml:"LLM"` | ||||
| 	DBPath          string       `toml:"DB_PATH"` | ||||
| } | ||||
|  | ||||
| type ServerConfig struct { | ||||
| @@ -38,6 +39,7 @@ func LoadConfigOrDefault(fn string) *Config { | ||||
| 		config.CookieSecret = "test" | ||||
| 		config.ServerConfig.Host = "localhost" | ||||
| 		config.ServerConfig.Port = "3000" | ||||
| 		config.DBPath = "sqlite3://gralias.db" | ||||
| 	} | ||||
| 	fmt.Printf("config debug; config.LLMConfig.URL: %s\n", config.LLMConfig.URL) | ||||
| 	return config | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder