app default endpoints

This commit is contained in:
Clément GOUIN
2019-06-20 10:07:22 +02:00
parent 7710eaad25
commit fe6cca6453
7 changed files with 193 additions and 48 deletions
+14 -12
View File
@@ -1,25 +1,27 @@
{
"node_port": 3000,
"data_dir": "data",
"modules" : {
"plantuml" : false,
"view_engine": "ejs",
"modules": {
"plantuml": false,
"rss": true,
"webhook": true
},
"home" : {
"index" : "index.ejs"
"home": {
"index": "index.ejs",
"error": "error.ejs"
},
"article" : {
"index" : "index.md",
"thumbnail_tag" : "thumbnail",
"article": {
"index": "index.md",
"thumbnail_tag": "thumbnail",
"default_title": "Untitled",
"default_thumbnail" : null
"default_thumbnail": null
},
"rss" : {
"endpoint" : "/rss",
"length" : 10
"rss": {
"endpoint": "/rss",
"length": 10
},
"webhook" : {
"webhook": {
"endpoint": "/webhook",
"secretFile": "git_secret"
}