mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-05 15:44:21 +00:00
Fix default database URL and type in Config
This commit is contained in:
@@ -34,7 +34,8 @@ type Config struct {
|
|||||||
// DefaultConfig returns a new Config instance with default values
|
// DefaultConfig returns a new Config instance with default values
|
||||||
func DefaultConfig() *Config {
|
func DefaultConfig() *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
DBURL: "sqlite://lemma.db",
|
DBURL: "./lemma.db",
|
||||||
|
DBType: db.DBTypeSQLite,
|
||||||
WorkDir: "./data",
|
WorkDir: "./data",
|
||||||
StaticPath: "../app/dist",
|
StaticPath: "../app/dist",
|
||||||
Port: "8080",
|
Port: "8080",
|
||||||
|
|||||||
Reference in New Issue
Block a user