const express = require("express"); const path = require("path"); const app = express(); app.use(express.static(path.join(__dirname, "build"))); app.get("/", function (req, res) { res.sendFile(path.join(__dirname, "build", "index.html")); }); // Updates app.listen(3000, "0.0.0.0", () => { console.log("Server is running on http://0.0.0.0:3000"); });