mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Merge pull request #1692 from PR0M3TH3AN/fix-r2-public-url-saving-1588983637873017456
Fix R2 Public URL saving in Profile Modal
This commit is contained in:
1 file changed
+3
@@ -9224,6 +9224,9 @@ export class ProfileModalController {
|
||||
// We can store it in meta if we want to show it in UI without decrypting.
|
||||
if (provider === "cloudflare_r2") {
|
||||
meta.accountId = endpointOrAccount;
|
||||
// For R2, the "Prefix" input serves as the Public Base URL (e.g. https://pub-xxx.r2.dev)
|
||||
meta.publicBaseUrl = prefix;
|
||||
meta.baseDomain = prefix;
|
||||
} else {
|
||||
meta.publicBaseUrl = publicBaseUrl;
|
||||
meta.baseDomain = publicBaseUrl;
|
||||
|
||||
Reference in new issue
Block a user