We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 520dc1f commit d99642dCopy full SHA for d99642d
data/config.yml
@@ -6,4 +6,6 @@ logger:
6
dir: ./data/logs
7
database:
8
type: sqlite
9
- url: file:./data/prod.db?cache=shared&_journal_mode=WAL&_sync=NORMAL&_foreign_keys=on&_busy_timeout=5000
+ url: file:./data/prod.db?cache=shared&_journal_mode=WAL&_sync=NORMAL&_foreign_keys=on&_busy_timeout=5000
10
+other:
11
+ server: QuickNote-Backend
pkg/config/types.go
@@ -17,4 +17,7 @@ type Config struct {
17
Type string `yaml:"type"`
18
URL string `yaml:"url"`
19
} `yaml:"database"`
20
+ Other struct {
21
+ Server string `optional:"true" yaml:"server"`
22
+ } `yaml:"other"`
23
}
0 commit comments