File uploading

This commit is contained in:
2025-04-13 13:50:30 +08:00
parent 31d98199e7
commit d22a15c42d
11 changed files with 918 additions and 3 deletions

View File

@ -24,5 +24,25 @@
"Jwt": {
"PublicKeyPath": "Keys/PublicKey.pem",
"PrivateKeyPath": "Keys/PrivateKey.pem"
},
"Tus": {
"StorePath": "Uploads"
},
"Storage": {
"BaseUrl": "http://localhost:5071",
"PreferredRemote": "cloudflare",
"Remote": [
{
"Id": "cloudflare",
"Label": "Cloudflare R2",
"Region": "auto",
"Bucket": "solar-network",
"Endpoint": "0a70a6d1b7128888c823359d0008f4e1.r2.cloudflarestorage.com",
"SecretId": "8ff5d06c7b1639829d60bc6838a542e6",
"SecretKey": "4b000df2b31936e1ceb0aa48bbd4166214945bd7f83b85b26f9d164318587991",
"EnableSigned": true,
"EnableSsl": true
}
]
}
}