Altered API, read more
I moved /auth/account/privilege to /admin/privilege I also fixed PATCH and DELETE on /account
This commit is contained in:
+2
-2
@@ -15,8 +15,8 @@ app.use(cors());
|
||||
//database connection
|
||||
const database = require('./database');
|
||||
|
||||
const admin = require('./admin');
|
||||
admin.defaultAccount();
|
||||
//access the admin
|
||||
app.use('/admin', require('./admin'));
|
||||
|
||||
//access the auth
|
||||
app.use('/auth', require('./auth'));
|
||||
|
||||
Reference in New Issue
Block a user