diff --git a/server/config/config.js b/server/config/config.js index 4e7a35d..3761fc2 100644 --- a/server/config/config.js +++ b/server/config/config.js @@ -1,13 +1,11 @@ module.exports = { - fluidnc: { - host: "fluidncred.local", - port: 80, + host: process.env.FluidNcHost || "fluidncred.local", + port: Number(process.env.FluidNcPort) || 80, reconnectDelay: 30000 }, server: { - port: 3000 + port: Number(process.env.PORT) || 3000 } - }; \ No newline at end of file diff --git a/web/index.html b/web/index.html index e532c5f..ae2a44d 100644 --- a/web/index.html +++ b/web/index.html @@ -69,6 +69,10 @@ +

G‑Code Eingabe

+ + +