From 2ed956a0f3ed222cf92d91bcc99d89b602f34df5 Mon Sep 17 00:00:00 2001 From: Late Night Defender Date: Mon, 9 Jun 2025 01:26:33 +0700 Subject: [PATCH] websocket to a proxy server --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index e153a51..43793af 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -23,7 +23,7 @@ Only reply with one or two short English sentences at a time.`; // (keep your fu const connectRealtime = async () => { if (wsRef.current) return; - const ws = new WebSocket(`wss://api.openai.com/v1/realtime?authorization=Bearer ${OPENAI_API_KEY}`); + const ws = new WebSocket(`wss://ai-tutor-proxy.techtransthai.org`); wsRef.current = ws; ws.onopen = () => {