diff --git a/health_checker b/scripts/health_checker similarity index 100% rename from health_checker rename to scripts/health_checker diff --git a/server.js b/server.js index 3191bd9..6bb857d 100644 --- a/server.js +++ b/server.js @@ -11,7 +11,7 @@ app.use(express.static(rootDir, { index: "index.html" })); // Health checker should always return the raw script with text/plain app.get("/healthchecker", (req, res) => { res.type("text/plain"); - res.sendFile(path.join(rootDir, "health_checker")); + res.sendFile(path.join(rootDir, "scripts", "health_checker")); }); // Fallback to index.html for other routes (optional)