proxy websocket url

This commit is contained in:
Joel Mathew Thomas
2025-03-20 00:53:16 +05:30
parent 710956608d
commit 0d2ecc9d3d
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import React, { createContext, useContext, useEffect, useState } from "react";
const WEBSOCKET_URL = "ws://localhost:8000/ws/freqsplit/";
const WEBSOCKET_URL = "/ws/freqsplit/";
interface WebSocketContextType {
socket: WebSocket | null;