Skip to content

Commit 5478ac0

Browse files
committed
feat: Add floorpOSAutomatorClient using GRPC_SERVER_URL and insecure credentials.
1 parent f04e542 commit 5478ac0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/grpc-clients.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,15 +214,15 @@ interface ImportMetaLike {
214214
const im = import.meta as unknown as ImportMetaLike;
215215

216216
// Resolve base URL in order of preference:
217-
// 1) VITE_GRPC_BASE_URL (e.g. http://localhost:50052)
217+
// 1) VITE_GRPC_BASE_URL (e.g. http://localhost:50051)
218218
// 2) window.__SAPPHILLON_GRPC_BASE__ (debug hook)
219-
// 3) fallback http://localhost:50052
219+
// 3) fallback http://localhost:50051
220220
export const BASE_URL =
221221
(im.env?.VITE_GRPC_BASE_URL as string | undefined) ||
222222
(typeof window !== "undefined" &&
223223
(window as unknown as { __SAPPHILLON_GRPC_BASE__?: string })
224224
.__SAPPHILLON_GRPC_BASE__) ||
225-
"http://localhost:50052";
225+
"http://localhost:50051";
226226

227227
// Toggle grpc-web binary/json via env (defaults to binary)
228228
const BIN_ENV = (

0 commit comments

Comments
 (0)