summaryrefslogtreecommitdiff
path: root/internal/api/fileserver/fileserver.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/fileserver/fileserver.go')
-rw-r--r--internal/api/fileserver/fileserver.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/fileserver/fileserver.go b/internal/api/fileserver/fileserver.go
index 3620ea63f..db15ce2e0 100644
--- a/internal/api/fileserver/fileserver.go
+++ b/internal/api/fileserver/fileserver.go
@@ -33,8 +33,8 @@ const (
MediaSizeKey = "media_size"
// FileNameKey is the actual filename being sought. Will usually be a UUID then something like .jpeg
FileNameKey = "file_name"
- // FileServePath is the fileserve path minus the 'fileserver' prefix.
- FileServePath = "/:" + AccountIDKey + "/:" + MediaTypeKey + "/:" + MediaSizeKey + "/:" + FileNameKey
+ // FileServePath is the fileserve path minus the 'fileserver/:account_id/:media_type' prefix.
+ FileServePath = "/:" + MediaSizeKey + "/:" + FileNameKey
)
type Module struct {