Backend-Adresse aus .env file beziehen

This commit is contained in:
Torsten Schulz
2024-06-15 23:29:41 +02:00
parent 61653ff407
commit 4e371f88b1
23 changed files with 568 additions and 83 deletions

View File

@@ -143,7 +143,7 @@ export default {
},
async saveMenuData() {
try {
await fetch('http://localhost:3000/api/menu-data', {
await fetch('/menu-data', {
method: 'POST',
headers: {
'Content-Type': 'application/json'