summaryrefslogtreecommitdiff
path: root/internal/config/defaults.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 /internal/config/defaults.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 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index f1666e1a5..4b6ca5ea7 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -55,10 +55,7 @@ var Defaults = Values{
MediaDescriptionMaxChars: 500,
StorageBackend: "local",
- StorageBasePath: "/gotosocial/storage",
- StorageServeProtocol: "https",
- StorageServeHost: "localhost",
- StorageServeBasePath: "/fileserver",
+ StorageLocalBasePath: "/gotosocial/storage",
StatusesMaxChars: 5000,
StatusesCWMaxChars: 100,