From 453e9805ef6583e2177fb55fa1e45cf5816a7e67 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sun, 21 Dec 2025 19:01:42 +0100 Subject: feat(backend): connect to sqlite db --- backend/config.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'backend/config.go') diff --git a/backend/config.go b/backend/config.go index e009b8a..b221978 100644 --- a/backend/config.go +++ b/backend/config.go @@ -35,6 +35,7 @@ type Config struct { DefaultImage string `toml:"default_image"` Quotes []string `toml:"quotes"` Language string `toml:"language"` + Database string `toml:"database"` Sections []Section `toml:"section"` @@ -73,6 +74,7 @@ func (c *Config) DefaultValues() { }} c.RootFolder = "data" c.PublicFolder = "public" + c.Database = "database.sqlite" c.Quotes = []string{"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do."} c.Replacers = []Replacer{{"~", " "}} } -- cgit v1.2.3