pis #12
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