Commit graph

6 commits

Author SHA1 Message Date
Simon Ser 29bdc1aa45 Migrate to Codeberg 2024-07-04 21:28:11 +02:00
Simon Ser 87b75c44d2 fileupload: fix http-origin pattern matching
Mirror what github.com/nhooyr/websocket does and match the host
only. Using the full URL never results in a match, because it
contains slash characters.
2024-04-16 13:19:21 +02:00
Simon Ser f214e5a5aa fileupload: hardcode a few primary file extensions 2024-03-11 11:41:54 +01:00
Alex McGrath 6b89b99784 fileupload: add CORS header fields 2024-02-13 18:54:35 +01:00
Simon Ser c1fc2f1e61 fileupload: serve select MIME types as inline 2024-01-25 14:23:28 +01:00
Simon Ser b76cb6d5e6 Add support for file uploads
Co-authored-by: delthas <delthas@dille.cc>
2024-01-24 23:32:07 +01:00