summaryrefslogtreecommitdiff
path: root/testrig/config.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-12-20 15:19:53 +0100
committerLibravatar GitHub <noreply@github.com>2021-12-20 15:19:53 +0100
commitcb8688f4298a1a3ed5e28565004588be3c071df0 (patch)
tree038b196e914b949857bf8b7c00f22374408bc1ca /testrig/config.go
parentreturn first offer when no accept header set (#351) (diff)
downloadgotosocial-cb8688f4298a1a3ed5e28565004588be3c071df0.tar.xz
Remove unnecessary storage config variables (#344)
* rewire config to not use extraneous serve vars * rename 'file' to 'local' for consistency * use Type and Size again
Diffstat (limited to 'testrig/config.go')
-rw-r--r--testrig/config.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/testrig/config.go b/testrig/config.go
index 3857ddb34..f9b1e0bcf 100644
--- a/testrig/config.go
+++ b/testrig/config.go
@@ -88,10 +88,7 @@ var TestDefaults = config.Values{
MediaDescriptionMaxChars: 500,
StorageBackend: "local",
- StorageBasePath: "/gotosocial/storage",
- StorageServeProtocol: "http",
- StorageServeHost: "localhost:8080",
- StorageServeBasePath: "/fileserver",
+ StorageLocalBasePath: "/gotosocial/storage",
StatusesMaxChars: 5000,
StatusesCWMaxChars: 100,