From f24a0f85183b25a30ef499c9a1caf49b9f4bb400 Mon Sep 17 00:00:00 2001 From: szbk Date: Sat, 23 Mar 2024 13:57:24 +0300 Subject: [PATCH] public comment --- app.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app.js b/app.js index ccf0f67..c0f72ca 100644 --- a/app.js +++ b/app.js @@ -6,7 +6,6 @@ const configs = require("./configs"); const chalk = require("chalk"); const helmet = require("helmet"); const morgan = require("morgan"); -const path = require("path"); const cors = require("cors"); app.use(express.urlencoded({ extended: true })); @@ -33,9 +32,9 @@ mongoose app.use(express.static("build")); // React uygulamasının web arayüzüne erişim -app.get("/react-ui", (req, res) => { - res.sendFile(path.join(__dirname, "public", "index.html")); -}); +//app.get("/react-ui", (req, res) => { +// res.sendFile(path.join(__dirname, "public", "index.html")); +//}); // Device Set Route app.use("/api/get", require("./route/device.get.route"));