Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-066
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
2022-066
2022-066
Commits
ba951037
Commit
ba951037
authored
Nov 16, 2022
by
De Silva K.C.C.C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
thushan chnages
parent
de55cb57
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18891 additions
and
47 deletions
+18891
-47
frontend/package-lock.json
frontend/package-lock.json
+18890
-46
frontend/src/classNotes/classNotes.js
frontend/src/classNotes/classNotes.js
+1
-1
No files found.
frontend/package-lock.json
View file @
ba951037
This diff is collapsed.
Click to expand it.
frontend/src/classNotes/classNotes.js
View file @
ba951037
...
...
@@ -25,7 +25,7 @@ const ClassNotes = () => {
const
fd
=
new
FormData
();
fd
.
append
(
'
video
'
,
file
[
0
],
file
[
0
].
name
);
try
{
const
videoUploadResponse
=
await
axios
.
post
(
'
http://1
27.0.0.1:1100
/short_note
'
,
fd
,
{
const
videoUploadResponse
=
await
axios
.
post
(
'
http://1
92.168.8.102:1102
/short_note
'
,
fd
,
{
onUploadProgress
:
(
ProgressEvent
)
=>
{
console
.
log
(
'
Upload Progress:
'
,
Math
.
round
((
ProgressEvent
.
loaded
/
ProgressEvent
.
total
)
*
100
),
'
%
'
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment