development -> main #1

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

View file

@ -6,10 +6,11 @@ const app = express();
const port = 8090; const port = 8090;
//CORS aktivieren //CORS aktivieren
//app.use(cors()); app.use(cors());
app.use(cors({
origin: 'http://localhost:8090' /*app.use(cors({
})); origin: 'http://localhost:8080'
}));*/
app.post('/api/command', (req, res) => { app.post('/api/command', (req, res) => {
executeCommand(); executeCommand();