Merge branch 'master' of https://gitlab.gcp.windtre.it/olympus_ai/hermione-fe
# Conflicts: # src/views/pages/ScenarioExec.vue
This commit is contained in:
@@ -127,7 +127,8 @@ const debug_modal = ref(false)
|
||||
onMounted(() => {
|
||||
loading.value = true
|
||||
const id = route.params.id;
|
||||
axios.get('http://localhost:8081/scenarios/' + id )
|
||||
|
||||
axios.get('/scenarios/' + id )
|
||||
.then(response => {
|
||||
loading.value = false
|
||||
scenario.value = response.data
|
||||
@@ -156,7 +157,7 @@ onMounted(() => {
|
||||
inputs: { ...formData.value }
|
||||
};
|
||||
|
||||
axios.post('http://localhost:8081/scenarios/execute', data)
|
||||
axios.post('/scenarios/execute', data)
|
||||
.then(response => {
|
||||
loading_data.value = false;
|
||||
data_loaded.value = true;
|
||||
@@ -174,7 +175,8 @@ onMounted(() => {
|
||||
}
|
||||
|
||||
const openDebug = () => {
|
||||
axios.get('http://localhost:8081/scenarios/execute/'+ exec_id.value).then(resp =>{
|
||||
|
||||
axios.get('/scenarios/execute/'+ exec_id.value).then(resp =>{
|
||||
exec_scenario.value = resp.data
|
||||
debug_modal.value = true
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user