diff options
author | 2021-12-20 15:19:53 +0100 | |
---|---|---|
committer | 2021-12-20 15:19:53 +0100 | |
commit | cb8688f4298a1a3ed5e28565004588be3c071df0 (patch) | |
tree | 038b196e914b949857bf8b7c00f22374408bc1ca /internal/config/keys.go | |
parent | return first offer when no accept header set (#351) (diff) | |
download | gotosocial-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/keys.go')
-rw-r--r-- | internal/config/keys.go | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/internal/config/keys.go b/internal/config/keys.go index a451a8dc6..c3c46745f 100644 --- a/internal/config/keys.go +++ b/internal/config/keys.go @@ -61,10 +61,7 @@ type KeyNames struct { // storage StorageBackend string - StorageBasePath string - StorageServeProtocol string - StorageServeHost string - StorageServeBasePath string + StorageLocalBasePath string // statuses StatusesMaxChars string @@ -143,10 +140,7 @@ var Keys = KeyNames{ MediaDescriptionMaxChars: "media-description-max-chars", StorageBackend: "storage-backend", - StorageBasePath: "storage-base-path", - StorageServeProtocol: "storage-serve-protocol", - StorageServeHost: "storage-serve-host", - StorageServeBasePath: "storage-serve-base-path", + StorageLocalBasePath: "storage-local-base-path", StatusesMaxChars: "statuses-max-chars", StatusesCWMaxChars: "statuses-cw-max-chars", |