remove references to localhost from axios calls.

This commit is contained in:
iamBadgers
2026-04-20 21:24:16 -07:00
parent 8be9516dfd
commit c7fb2e490e
3 changed files with 11 additions and 10 deletions

View File

@@ -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>