Commit ba951037 authored by De Silva K.C.C.C's avatar De Silva K.C.C.C

thushan chnages

parent de55cb57
This diff is collapsed.
...@@ -25,7 +25,7 @@ const ClassNotes = () => { ...@@ -25,7 +25,7 @@ const ClassNotes = () => {
const fd = new FormData(); const fd = new FormData();
fd.append('video', file[0], file[0].name); fd.append('video', file[0], file[0].name);
try { try {
const videoUploadResponse = await axios.post('http://127.0.0.1:1100/short_note', fd, { const videoUploadResponse = await axios.post('http://192.168.8.102:1102/short_note', fd, {
onUploadProgress: (ProgressEvent) => { onUploadProgress: (ProgressEvent) => {
console.log('Upload Progress: ', Math.round((ProgressEvent.loaded / ProgressEvent.total) * 100), '%'); console.log('Upload Progress: ', Math.round((ProgressEvent.loaded / ProgressEvent.total) * 100), '%');
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment