Skip to content

Commit

Permalink
fix(#9): Fixing Curation XSD schema view and download link
Browse files Browse the repository at this point in the history
  • Loading branch information
tholulomo committed Oct 19, 2023
1 parent e56ccfb commit 604a013
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/pages/portal/curation/xsd/XsdViewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default {
},
fetchJsonSchema () {
fetch('http://localhost/api/curate?getXSD=true', {
fetch('/api/curate?getXSD=true', {
method: 'GET',
headers: { Authorization: `Bearer ${this.token}`, accept: 'application/json' }
})
Expand All @@ -96,7 +96,7 @@ export default {
message: 'Preparing File For Download',
duration: 7000
})
fetch('http://localhost/api/curate?isFile=true', {
fetch('/api/curate?isFile=true', {
method: 'GET',
headers: { Authorization: `Bearer ${this.token}` },
responseType: 'blob'
Expand Down

0 comments on commit 604a013

Please sign in to comment.