Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: fix grpc address (#14588)

Liu Jif921f70de908
diff --git a/frontend/src/grpcweb/index.ts b/frontend/src/grpcweb/index.ts
index e4d01d2aa1..a6fbef5100 100644
--- a/frontend/src/grpcweb/index.ts
+++ b/frontend/src/grpcweb/index.ts
@@ -44,8 +44,7 @@ import {
// Create each grpc service client.
// Reference: https://github.com/deeplay-io/nice-grpc/blob/master/packages/nice-grpc-web/README.md
-// const address = import.meta.env.BB_GRPC_LOCAL || window.location.origin;
-const address = `${location.protocol}//${location.hostname}:8080`;
+const address = import.meta.env.BB_GRPC_LOCAL || window.location.origin;
const channel = createChannel(
address,