From a0c3a1d7ea01f1c3201f242581b680349a4c90e6 Mon Sep 17 00:00:00 2001 From: MistaWizard Date: Tue, 9 Apr 2019 20:46:48 -0400 Subject: [PATCH] Appointment API post route works --- routes/api/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/api/index.js b/routes/api/index.js index cb3009c..33b8b73 100644 --- a/routes/api/index.js +++ b/routes/api/index.js @@ -4,7 +4,7 @@ const imageRoutes = require("./images"); const apptRoutes = require("./appointments"); router.use("/images", imageRoutes); -router.use("/appointments", apptRoutes); +router.use("/appt", apptRoutes); router.use(function(req, res) { res.sendFile(path.join(__dirname, "../../client/build/index.html"))