mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-24 08:49:39 -04:00
Fix wrong firebase bucket name
This commit is contained in:
@@ -105,7 +105,7 @@ For Compass, the name of the secrets are in [secrets.ts](../../common/src/secret
|
||||
In root directory, run the local api with hot reload, along with all the other backend and web code.
|
||||
|
||||
```bash
|
||||
./dev.sh prod
|
||||
./run_local.sh prod
|
||||
```
|
||||
|
||||
### Deploy
|
||||
|
||||
@@ -34,7 +34,11 @@ provider "google" {
|
||||
# Firebase Storage Buckets
|
||||
# Note you still have to deploy the rules: `firebase deploy --only storage`
|
||||
resource "google_storage_bucket" "public_storage" {
|
||||
name = "compass-130ba-public"
|
||||
# /!\ That bucket is different from the one in firebase (compass-130ba.firebasestorage.app)
|
||||
# as it errors when trying to do so:
|
||||
# Error: googleapi: Error 403: Another user owns the domain compass-130ba.firebasestorage.app or a parent domain. You can either verify domain ownership at https://search.google.com/search-console/welcome?new_domain_name=compass-130ba.firebasestorage.app or find the current owner and ask that person to create the bucket for you, forbidden
|
||||
# To be fixed later if they must be the same bucket (shared resources)
|
||||
name = "compass-130ba"
|
||||
location = "US"
|
||||
force_destroy = false
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"storage": [
|
||||
{
|
||||
"bucket": "compass-130ba-public",
|
||||
"bucket": "compass-130ba.firebasestorage.app",
|
||||
"rules": "storage.rules"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -2,24 +2,4 @@ import { EnvConfig, PROD_CONFIG } from './prod'
|
||||
|
||||
export const DEV_CONFIG: EnvConfig = {
|
||||
...PROD_CONFIG,
|
||||
domain: 'compassmeet.com',
|
||||
firebaseConfig: {
|
||||
apiKey: "AIzaSyAxzhj6bZuZ1TCw9xzibGccRHXiRWq6iy0",
|
||||
authDomain: "compass-130ba.firebaseapp.com",
|
||||
projectId: "compass-130ba",
|
||||
storageBucket: "compass-130ba-public",
|
||||
messagingSenderId: "253367029065",
|
||||
appId: "1:253367029065:web:b338785af99d4145095e98",
|
||||
measurementId: "G-2LSQYJQE6P",
|
||||
region: 'us-west1',
|
||||
privateBucket: 'compass-private.firebasestorage.app',
|
||||
},
|
||||
cloudRunId: 'w3txbmd3ba',
|
||||
cloudRunRegion: 'uc',
|
||||
supabaseInstanceId: 'ltzepxnhhnrnvovqblfr',
|
||||
supabaseAnonKey: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Imx0emVweG5oaG5ybnZvdnFibGZyIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTU5NjczNjgsImV4cCI6MjA3MTU0MzM2OH0.pbazcrVOG7Kh_IgblRu2VAfoBe3-xheNfRzAto7xvzY',
|
||||
apiEndpoint: 'api.compassmeet.com',
|
||||
adminIds: [
|
||||
'0vaZsIJk9zLVOWY4gb61gTrRIU73', // Martin
|
||||
],
|
||||
}
|
||||
|
||||
@@ -36,12 +36,12 @@ export const PROD_CONFIG: EnvConfig = {
|
||||
apiKey: "AIzaSyAxzhj6bZuZ1TCw9xzibGccRHXiRWq6iy0",
|
||||
authDomain: "compass-130ba.firebaseapp.com",
|
||||
projectId: "compass-130ba",
|
||||
storageBucket: "compass-130ba-public",
|
||||
storageBucket: "compass-130ba.firebasestorage.app",
|
||||
privateBucket: 'compass-private.firebasestorage.app',
|
||||
messagingSenderId: "253367029065",
|
||||
appId: "1:253367029065:web:b338785af99d4145095e98",
|
||||
measurementId: "G-2LSQYJQE6P",
|
||||
region: 'us-west1',
|
||||
privateBucket: 'compass-private.firebasestorage.app',
|
||||
},
|
||||
cloudRunId: 'w3txbmd3ba',
|
||||
cloudRunRegion: 'uc',
|
||||
|
||||
Reference in New Issue
Block a user