diff --git a/server.js b/server.js index b4f9249..6d01c72 100644 --- a/server.js +++ b/server.js @@ -33,6 +33,10 @@ const validateApiKey = (req, res, next) => { next(); // Proceed if the API key is valid }; +app.get("/", (req, res) => { + res.send("Hello from the backend server!"); +} + // Forward request to localhost:11434 (ollama) app.post("/api/generate/api/chat", validateApiKey, async (req, res) => {