add http-server part 7.6
All checks were successful
ci / build (push) Successful in 1m24s

This commit is contained in:
Christopher Hase 2025-04-11 10:58:39 +02:00
parent 0676dd5698
commit 3c6d238ab8
2 changed files with 2 additions and 4 deletions

View file

@ -37,7 +37,7 @@ COPY --from=build /app/frontend/index.html ./dist/frontend/
COPY --from=build /app/package.json ./dist/backend/
# Neu: Konfigurationsdatei ins Backend-Verzeichnis
COPY --from=build /app/backend/config.json ./dist/backend/
#COPY --from=build /app/backend/config.json ./dist/backend/
COPY --from=rust-build /usr/local/cargo/bin/iching /usr/local/bin/iching

View file

@ -1,10 +1,8 @@
import express from 'express';
import { executeCommand } from './broker.js';
//import { executeCommand } from './broker';
//import { executeCommand } from './broker.mjs';
const app = express();
const port = 8080;
const port = 8090; //TODO: OR 8080
app.post('/api/command', (req, res) => {
executeCommand();