Fakultas Ilmu Komputer UI

Commit bb7761b3 authored by FadhilP's avatar FadhilP
Browse files

[REFACTOR] Remove access control expose header in request

parent 1803369e
Pipeline #81441 passed with stages
in 3 minutes and 37 seconds
......@@ -28,7 +28,6 @@ const useDownloadFile = (urlString) => {
method: "GET",
headers: {
Authorization: `Token ${profile.token}`,
"Access-Control-Expose-Headers": "Content-Disposition",
},
})
.then((response) => {
......
Supports Markdown
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