We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f28f13 commit 505ca98Copy full SHA for 505ca98
api/app.js
@@ -15,6 +15,10 @@ app.use(cors()); // Use the CORS middleware
15
16
app.use("/static", express.static(path.join(__dirname, "static")));
17
18
+app.get("/test", (req, res) => {
19
+ return res.json({success:true,message:"Hello World !!"})
20
+})
21
+
22
app.get("/", (req, res) => {
23
res.sendFile(path.join(__dirname, "templates", "index.html"));
24
});
0 commit comments