diff options
| author | Pitu <[email protected]> | 2019-10-12 18:18:32 +0900 |
|---|---|---|
| committer | Pitu <[email protected]> | 2019-10-12 18:18:32 +0900 |
| commit | 2695d192ba253219f41dce259cc53070058cad91 (patch) | |
| tree | 1d35db90ce66cddc3a587a9c3726c4b1514bb9e0 /src/api/structures/Server.js | |
| parent | feature: save uploaded files to album if specified (diff) | |
| download | host.fuwn.me-2695d192ba253219f41dce259cc53070058cad91.tar.xz host.fuwn.me-2695d192ba253219f41dce259cc53070058cad91.zip | |
feature: prevent duplicated files
- If the user uploads a file that already exists under their account, it will return the previous url
- If an anonymous user uploads a file and already exists previously from another anon, return that url
- Files are unique per account since they can be deleted, anonymous files can't
Diffstat (limited to 'src/api/structures/Server.js')
0 files changed, 0 insertions, 0 deletions