update ws url
This commit is contained in:
parent
32d7ed24a2
commit
58c96e10f7
|
|
@ -49,7 +49,7 @@ export default function ViewsAdminUploadSuccess() {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!validatedData?.job_id) return;
|
if (!validatedData?.job_id) return;
|
||||||
|
|
||||||
const wsUrl = `ws://localhost:8000/ws/job/${validatedData.job_id}`;
|
const wsUrl = `ws://labai.polinema.ac.id:808/ws/job/${validatedData.job_id}`;
|
||||||
const ws = new WebSocket(wsUrl);
|
const ws = new WebSocket(wsUrl);
|
||||||
|
|
||||||
wsRef.current = ws;
|
wsRef.current = ws;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user