development -> main #1

Open
Christopher.Hase wants to merge 93 commits from development into main
Showing only changes of commit 33d4fd94f2 - Show all commits

View file

@ -9,7 +9,8 @@ const port = 8090;
app.use(cors());
// Füge dies hinzu, um die OPTIONS-Anfragen korrekt zu behandeln
app.options('*', cors());
//app.options('*', cors());
app.options('/api/command', cors()); // für eine bestimmte Route
// Verwende die Middleware, um POST-Body als JSON zu lesen
app.use(express.json());