Closed ThomasTJdev closed 5 years ago
Rename images
to files
.
Theres no tables for files, you mean to add one, it should only need the downloadCount
I guess, I agree.
I think table and folder should have the same name, so files
for both.
I agree :+1:
Fixed in PR #39
Proposal
1) Currently files are uploaded to the folder images - should this be splitted or renamed to files? It's just ugly to serve a PDF file from a folder names images
2) Each time a file is served to a user,
sendFile()
,inc(1)
to tablefile.downloadCount
. This will allow to the user to have statistics.