From cb8688f4298a1a3ed5e28565004588be3c071df0 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 20 Dec 2021 15:19:53 +0100 Subject: 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 --- testrig/config.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'testrig') 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, -- cgit v1.3