Kyoso-Team / kyoso

A web application that takes osu! tournaments beyonds spreadsheets.
http://kyoso.sh
GNU Affero General Public License v3.0
1 stars 1 forks source link

Allow admins to upload images #1

Closed TTTaevas closed 1 year ago

TTTaevas commented 1 year ago

This introduces "Images" to the database, as well as an upload page only accessible to admins, from which you can send images (although in reality, it's any file, you could use a library to check file type) Images get stored and can get accessed at any point by any user through /images/{id}, the upload function returns the id (alongside other file-related stuff)

I doubt this is perfect, so please lemme know if there's anything I can do better!