Gabriel Simmer
8f2dfb2238
Run gofmt
2024-06-30 15:58:09 +01:00
Gabriel Simmer
e145fa579a
Break out file host URL to allow custom CDNs
2024-06-30 15:56:49 +01:00
Gabriel Simmer
b9a0b0e454
Groundwork for S3 file uploader
2024-06-30 15:56:01 +01: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