feat: add profile photo upload/delete API routes with R2 storage

This commit is contained in:
2026-05-09 12:54:12 +08:00
parent 6009366fb4
commit 20f1d33751
4 changed files with 185 additions and 0 deletions
+5
View File
@@ -39,6 +39,11 @@ const nextConfig: NextConfig = {
{
protocol: 'https',
hostname: 'cdn.discordapp.com'
},
// Cloudflare R2
{
protocol: "https",
hostname: "**.r2.dev",
}
],
},