Skip to content

Commit

Permalink
Tweak to csv2bufr component, removal of hardcoded API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
david-i-berry committed Sep 8, 2023
1 parent 4763011 commit edca91b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webapp/src/components/CsvToBUFRForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
};
const submit = async() => {
CsvToBUFR()
}
};
const CsvToBUFR = async() => {
const payload = {
inputs: {
Expand All @@ -443,8 +443,8 @@
notify: true,
template: "aws-template"
}
}
const apiURL = "http://3.127.235.197/oapi/processes/wis2box-csv2bufr/execution"
};
const apiURL = `${import.meta.env.VITE_API_URL}/processes/wis2box-csv2bufr/execution`;
const response = await fetch(apiURL, {
method: 'POST',
Expand Down

0 comments on commit edca91b

Please sign in to comment.