raftario / filite

A simple, light and standalone pastebin, URL shortener and file-sharing service
MIT License
190 stars 16 forks source link

Question - Storing pastebin uploads as files #9

Open caycaycarly opened 4 years ago

caycaycarly commented 4 years ago

Can the uploads to the pastebin (in "Texts") be stored as files similar to how actual file uploads (in "Files") are handled?

Reason being that this way, the SQLite database need not be populated with the contents of the pastes, and instead store only the absolute path of the text files.

raftario commented 4 years ago

Just wondering, would those be stored alongside the files or in a separate directory specified in the config?

caycaycarly commented 4 years ago

A seperate directory would look neat.

raftario commented 4 years ago

Alright, shouldn't be too complicated!