You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//routes to /api/articles will be handled in /src/articles/routes.js
27
28
28
29
app.use("/api/articles",articleRoutes);// must go BEFORE create_delete because create_delete will return authorization error before allowing the api route for GETting articles
29
-
app.use("/api/articles",create_delete_articleRoutes);//the create_delete will have authorization checked, but the regular articleRoutes will not
30
+
app.use("/api/articles",auth_articleRoutes);//the create_delete will have authorization checked, but the regular articleRoutes will not
0 commit comments