File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,26 @@ database. When prompted to select the set of initial security rules, select
113
113
any option (e.g. "Start in Production Mode") since these permission settings
114
114
will be overwritten below.
115
115
116
+ #### Storage Setup
117
+
118
+ Visit the "Storage" section of the console and create a storage bucket. In
119
+ order to run the tests, you will need to update your bucket's CORS rules.
120
+
121
+ 1 . Create a new file called ` cors.json ` with the contents:
122
+ ``` json
123
+ [
124
+ {
125
+ "origin" : [" http://localhost:8089" ],
126
+ "method" : [" GET" ],
127
+ "maxAgeSeconds" : 3600
128
+ }
129
+ ]
130
+ ```
131
+ 2 . Install ` gsutil ` from https://cloud.google.com/storage/docs/gsutil_install
132
+ 3 . Run ` gsutil cors set cors.json gs://<your-cloud-storage-bucket> `
133
+
134
+ For more information, visit https://firebase.google.com/docs/storage/web/download-files#cors_configuration
135
+
116
136
#### Authentication Support
117
137
118
138
Visit the authentication config in your project and enable the ` Anonymous `
You can’t perform that action at this time.
0 commit comments