Add CORS preflight and headers

Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
Joe Ma 2024-02-03 03:11:17 +08:00
parent 8aac6f87a9
commit 6be1e97122
No known key found for this signature in database
GPG key ID: 7A0ECF5F5EDC587F
2 changed files with 32 additions and 3 deletions

View file

@ -189,11 +189,11 @@ Generate the presigned URL for upload large paste to the given S3 endpoint `LARG
The `file-size` and `file-sha256sum` field is required.
### POST /v2/large_upload/complete/<uuid>
### POST /v2/large_upload/complete/\<uuid\>
Finialize the paste created from `/v2/large_upload/create`.
### GET /v2/large_upload/<uuid>
### GET /v2/large_upload/\<uuid\>
Generate the presigned URL for upload large paste to the given S3 endpoint `LARGE_DOWNLOAD_ENDPOINT` using HTTP `GET` request.