Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Aug 31, 2023
2 parents de6768b + d8e9c58 commit 73d7359
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion db-connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -7989,14 +7989,19 @@ func RunInit(dbclient datastore.Client, storageClient storage.Client, gceProject
dbType = "opensearch"
}

cloudRunUrl := os.Getenv("SHUFFLE_CLOUDRUN_URL")
if cloudRunUrl == "" {
cloudRunUrl = "https://shuffler.io"
}

project = ShuffleStorage{
Dbclient: dbclient,
StorageClient: storageClient,
GceProject: gceProject,
Environment: environment,
CacheDb: cacheDb,
DbType: dbType,
CloudUrl: "https://shuffler.io",
CloudUrl: cloudRunUrl,
BucketName: "shuffler.appspot.com",
}

Expand Down

0 comments on commit 73d7359

Please sign in to comment.