feat: Add ability to configure and test SMTP via UI
This commit is contained in:
@@ -62,10 +62,14 @@ function staticDirServer(prefix, dirFn) {
|
||||
}
|
||||
|
||||
module.exports.routes = {
|
||||
'GET /api/config': 'config/show',
|
||||
'GET /api/bootstrap': 'bootstrap/show',
|
||||
|
||||
'GET /api/terms/:type': 'terms/show',
|
||||
|
||||
'GET /api/config': 'config/show',
|
||||
'PATCH /api/config': 'config/update',
|
||||
'POST /api/config/test-smtp': 'config/test-smtp',
|
||||
|
||||
'GET /api/webhooks': 'webhooks/index',
|
||||
'POST /api/webhooks': 'webhooks/create',
|
||||
'PATCH /api/webhooks/:id': 'webhooks/update',
|
||||
|
||||
Reference in New Issue
Block a user