summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go23
1 files changed, 12 insertions, 11 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 61a037157..3703d8372 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -27,17 +27,18 @@ import (
// Defaults contains a populated Configuration with reasonable defaults. Note that
// if you use this, you will still need to set Host, and, if desired, ConfigPath.
var Defaults = Configuration{
- LogLevel: "info",
- LogDbQueries: false,
- ApplicationName: "gotosocial",
- LandingPageUser: "",
- ConfigPath: "",
- Host: "",
- AccountDomain: "",
- Protocol: "https",
- BindAddress: "0.0.0.0",
- Port: 8080,
- TrustedProxies: []string{"127.0.0.1/32", "::1"}, // localhost
+ LogLevel: "info",
+ LogTimestampFormat: "02/01/2006 15:04:05.000",
+ LogDbQueries: false,
+ ApplicationName: "gotosocial",
+ LandingPageUser: "",
+ ConfigPath: "",
+ Host: "",
+ AccountDomain: "",
+ Protocol: "https",
+ BindAddress: "0.0.0.0",
+ Port: 8080,
+ TrustedProxies: []string{"127.0.0.1/32", "::1"}, // localhost
DbType: "postgres",
DbAddress: "",