Add notes
Signed-off-by: Fred Boniface <fred@fjla.uk>
This commit is contained in:
parent
853d3bfec8
commit
8fdac022d7
2
app.js
2
app.js
@ -63,7 +63,7 @@ app.use('/api/v1/stats', statRtr)
|
|||||||
|
|
||||||
// Authented Routes
|
// Authented Routes
|
||||||
app.use('/api/v1/ldbs', authenticate)
|
app.use('/api/v1/ldbs', authenticate)
|
||||||
app.use('/api/v1/auth/test', authenticate)
|
app.use('/api/v1/auth/test', authenticate) // Returns 401 if auth failed, 404 if successful.
|
||||||
|
|
||||||
// Start Express
|
// Start Express
|
||||||
app.listen(srvPort, srvListen, (error) =>{
|
app.listen(srvPort, srvListen, (error) =>{
|
||||||
|
Loading…
Reference in New Issue
Block a user