更改默认的Firebase存储桶?

时间:2019-01-09 14:18:14

标签: javascript firebase firebase-storage

我在Google云存储中有1个存储分区。 Firebase创建一个新存储桶,它是Firebase控制台中的默认存储桶。我想更改默认存储桶并删除firebase创建的存储桶。以及如何在Google云存储中找到我的存储桶的配置设置。

这是默认存储桶:

   var config = {
                apiKey: "xx",
                authDomain: "xx.firebaseapp.com",
                databaseURL: "https://xx.firebaseio.com",
                projectId: "xx",
                storageBucket: "xx",
                messagingSenderId: "xx"
            };
            firebase.initializeApp(config);

1 个答案:

答案 0 :(得分:1)

如果您转到Storage browser in the Cloud console,将看到项目的存储分区列表。

enter image description here

复制您要使用的存储桶的名称,并将其放在配置的actions属性中。

相关问题