Changed hard-coded values to config options
This commit is contained in:
+8
-3
@@ -20,11 +20,16 @@ type Config struct {
|
||||
} `json:"db"`
|
||||
|
||||
Server struct {
|
||||
Host string `json:"host"`
|
||||
Port int `json:"port"`
|
||||
UI string `json:"ui"`
|
||||
Host string `json:"host"`
|
||||
Port int `json:"port"`
|
||||
Debug bool `json:"debug"`
|
||||
} `json:"server"`
|
||||
|
||||
Directories struct {
|
||||
UI string `json:"ui"`
|
||||
Templates string `json:"templates"`
|
||||
} `json:"directories"`
|
||||
|
||||
Wiki struct {
|
||||
URL string `json:"url"`
|
||||
Username string `json:"username"`
|
||||
|
||||
Reference in New Issue
Block a user