Update authed endpoints
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
ab8db7bd06
commit
07a0dd6f28
4
app.js
4
app.js
@ -69,9 +69,9 @@ app.use(limiter);
|
|||||||
|
|
||||||
// 2023 Rationalisation Routes (/api/v2, /misc)
|
// 2023 Rationalisation Routes (/api/v2, /misc)
|
||||||
app.use('/api/v2/pis', authenticate, pis2Rtr); // API Version 2
|
app.use('/api/v2/pis', authenticate, pis2Rtr); // API Version 2
|
||||||
app.use('/api/v2/live', live2Rtr); // API Version 2
|
app.use('/api/v2/live',authenticate, live2Rtr); // API Version 2
|
||||||
app.use('/api/v2/ref', ref2Rtr); // API Version 2
|
app.use('/api/v2/ref', ref2Rtr); // API Version 2
|
||||||
app.use('/api/v2/timetable', tt2Rtr); // API Version 2
|
app.use('/api/v2/timetable', authenticate, tt2Rtr); // API Version 2
|
||||||
app.use('/api/v2/user', user2Rtr); // API Version 2
|
app.use('/api/v2/user', user2Rtr); // API Version 2
|
||||||
app.use('/misc', miscRtr); // Non public-api endpoints (Stats, Issue, etc.)
|
app.use('/misc', miscRtr); // Non public-api endpoints (Stats, Issue, etc.)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user