Skip to content

Commit d9b8bc3

Browse files
committed
adding GRPC envs to portal .env.example
1 parent 5e94911 commit d9b8bc3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

apps/portal/.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ PUBLIC_SPONSOR_INFO_URL="http://www.example.com/info.html"
111111
# Defaults to https://chat.openbankproject.com if not set
112112
PUBLIC_OBP_CHAT_URL="https://chat.openbankproject.com"
113113

114+
# OBP gRPC endpoint (used for live chat streaming). Server-only — the browser talks to SvelteKit's /backend/chat/[chatRoomId]/stream SSE proxy, never directly to gRPC.
115+
OBP_GRPC_HOST=localhost:50051
116+
OBP_GRPC_AUTH_METADATA_KEY=authorization
117+
OBP_GRPC_AUTH_METADATA_VALUE_TEMPLATE=Bearer {token}
118+
114119

115120

116121
# Undocumented Features (use with caution)

0 commit comments

Comments
 (0)