reorganisation des routes

This commit is contained in:
2023-01-02 23:30:27 +01:00
parent 5b06d3c3b4
commit e94bf213c2
2 changed files with 13 additions and 13 deletions

View File

@@ -13,11 +13,11 @@ dotenv.config()
app.post('/add_review', (req,res) => addReviewFromRequest(req,res));
app.post('/add_social_review', (req,res) => addSocialReviewFromRequest(req,res));
app.get('/get_last_reviews', borneHandler.handleGetLastReviews);
app.get('/get_review', borneHandler.handleGetReview);
app.get('/get_criteres', borneHandler.handleGetCriteres);
app.get('/notes_autres', borneHandler.handleGetNotesAutres);
app.get('/get_stats', borneHandler.handleGetStats);
app.get('/borne/get_last_reviews', borneHandler.handleGetLastReviews);
app.get('/borne/get_review', borneHandler.handleGetReview);
app.get('/borne/get_criteres', borneHandler.handleGetCriteres);
app.get('/borne/notes_autres', borneHandler.handleGetNotesAutres);
app.get('/borne/get_stats', borneHandler.handleGetStats);
startCronJobs();