change local file upload location

This commit is contained in:
2022-02-24 02:09:40 -05:00
parent 38a7ac597b
commit 04c96fafc4
4 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ defmodule Entendu.EncryptedLink do
# Override the storage directory:
def storage_dir(version, {_file, scope}) do
"uploads/links/#{scope.id}"
"priv/uploads/links/#{scope.id}"
end
# Provide a default URL if there hasn't been a file uploaded