Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
pilar
pilar-web
Commits
92c8aa53
Commit
92c8aa53
authored
Jun 06, 2021
by
Fadhil Pradipta Widyanto
Browse files
Merge branch 'PBI-11/12' into 'dev'
PBI-11/12: Fix Download See merge request
!33
parents
6d721314
bb7761b3
Pipeline
#81792
passed with stages
in 2 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/utils/useDownloadFile.jsx
View file @
92c8aa53
...
...
@@ -28,7 +28,6 @@ const useDownloadFile = (urlString) => {
method
:
"
GET
"
,
headers
:
{
Authorization
:
`Token
${
profile
.
token
}
`
,
"
Access-Control-Expose-Headers
"
:
"
Content-Disposition
"
,
},
})
.
then
((
response
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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