diff --git a/backend/server.ts b/backend/server.ts index c904015..3d58828 100644 --- a/backend/server.ts +++ b/backend/server.ts @@ -6,10 +6,11 @@ const app = express(); const port = 8090; //CORS aktivieren -//app.use(cors()); -app.use(cors({ - origin: 'http://localhost:8090' -})); +app.use(cors()); + +/*app.use(cors({ + origin: 'http://localhost:8080' +}));*/ app.post('/api/command', (req, res) => { executeCommand();