fix(main): incorrect database url/path

This commit is contained in:
Guz
2024-11-18 09:37:06 -03:00
parent ac54384a91
commit 2fca837809

View File

@@ -44,7 +44,7 @@ func main() {
ReportCaller: true,
}))
db, err := sql.Open("libsql", "file://sqlite.db")
db, err := sql.Open("libsql", *database_file)
if err != nil {
logger.Error("Failed to start SQLite database", slog.String("error", err.Error()))
return