websocket to a proxy server
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Late Night Defender 2025-06-09 01:26:33 +07:00
parent 2d456e5e1e
commit 2ed956a0f3

View file

@ -23,7 +23,7 @@ Only reply with one or two short English sentences at a time.`; // (keep your fu
const connectRealtime = async () => { const connectRealtime = async () => {
if (wsRef.current) return; 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; wsRef.current = ws;
ws.onopen = () => { ws.onopen = () => {