remove references to localhost from axios calls.
This commit is contained in:
@@ -17,7 +17,7 @@ const availableVersion = ref([
|
||||
]);
|
||||
|
||||
function saveTable() {
|
||||
axios.post('http://localhost/api/tables', { "table_name": table_name.value, "table_link": table_link.value, "version": version.value }).then(() => router.push({ name: "home" }))
|
||||
axios.post('/api/tables', { "table_name": table_name.value, "table_link": table_link.value, "version": version.value }).then(() => router.push({ name: "home" }))
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user