Backend-Adresse aus .env file beziehen
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user