feat: Introduce runtime configuration for domain and enhance S3 storage settings with public base URL and Contabo support.

This commit is contained in:
Christomatt
2026-02-03 01:27:46 +01:00
parent 91d122ca3a
commit 38ddbf8bc1
20 changed files with 244 additions and 48 deletions
+3
View File
@@ -139,6 +139,7 @@ export async function registerUser(
displayName?: string,
storageProvider?: string,
storageEndpoint?: string | null,
storagePublicBaseUrl?: string | null,
storageRegion?: string,
storageBucket?: string,
storageAccessKey?: string,
@@ -201,6 +202,7 @@ export async function registerUser(
const avatarUrl = await generateAndUploadAvatarToUserStorage(
fullHandle,
storageEndpoint || undefined,
storagePublicBaseUrl || undefined,
storageRegion,
storageBucket,
storageAccessKey,
@@ -222,6 +224,7 @@ export async function registerUser(
privateKeyEncrypted: serializeEncryptedKey(encryptedPrivateKey),
storageProvider,
storageEndpoint: storageEndpoint || null,
storagePublicBaseUrl: storagePublicBaseUrl || null,
storageRegion,
storageBucket,
storageAccessKeyEncrypted: serializeEncryptedKey(encryptedAccessKey),