summaryrefslogtreecommitdiff
path: root/testrig/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/config.go')
-rw-r--r--testrig/config.go23
1 files changed, 12 insertions, 11 deletions
diff --git a/testrig/config.go b/testrig/config.go
index c5cbb2c80..a85a88477 100644
--- a/testrig/config.go
+++ b/testrig/config.go
@@ -33,17 +33,18 @@ func InitTestConfig() {
}
var testDefaults = config.Configuration{
- LogLevel: "info",
- LogDbQueries: true,
- ApplicationName: "gotosocial",
- LandingPageUser: "",
- ConfigPath: "",
- Host: "localhost:8080",
- AccountDomain: "localhost:8080",
- Protocol: "http",
- BindAddress: "127.0.0.1",
- Port: 8080,
- TrustedProxies: []string{"127.0.0.1/32", "::1"},
+ LogLevel: "info",
+ LogTimestampFormat: "02/01/2006 15:04:05.000",
+ LogDbQueries: true,
+ ApplicationName: "gotosocial",
+ LandingPageUser: "",
+ ConfigPath: "",
+ Host: "localhost:8080",
+ AccountDomain: "localhost:8080",
+ Protocol: "http",
+ BindAddress: "127.0.0.1",
+ Port: 8080,
+ TrustedProxies: []string{"127.0.0.1/32", "::1"},
DbType: "sqlite",
DbAddress: ":memory:",