mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
add auth routes
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import users from './users'
|
||||
import auth from './auth'
|
||||
|
||||
exports = module.exports = function Controllers(app) {
|
||||
app
|
||||
.use(auth.routes())
|
||||
.use(auth.allowedMethods())
|
||||
|
||||
.use(users.routes())
|
||||
.use(users.allowedMethods())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user