add http-server part 7.9.2

This commit is contained in:
Christopher Hase 2025-04-11 11:38:22 +02:00
parent c926227245
commit 61dec47fcb

View file

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