feat: Add ability to configure and test SMTP via UI

This commit is contained in:
Maksim Eltyshev
2025-09-22 20:35:13 +02:00
parent 3a12bb7457
commit c6f4dcdb70
114 changed files with 2161 additions and 301 deletions
+5 -1
View File
@@ -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',