sample configuration file

This commit is contained in:
Meutel 2014-09-03 19:39:55 +02:00
parent 40dc219c45
commit c5fe707e34
1 changed files with 16 additions and 0 deletions

16
sample.config.json Normal file
View File

@ -0,0 +1,16 @@
{
"calibre_path": "./public/calibre",
"calibre_db_path": "./public/calibre/metadata.db",
"trust proxy": true,
"book_details_custom": [
{
"name": "a_lire",
"query": "SELECT custom_columns.name AS label, custom_column_2.value AS value FROM custom_column_2 LEFT OUTER JOIN custom_columns ON custom_columns.id = 2 WHERE custom_column_2.book = ?",
"type": "bool"
}, {
"name": "phy",
"query": "SELECT custom_columns.name AS label, custom_column_3.value AS value FROM custom_column_3 LEFT OUTER JOIN custom_columns ON custom_columns.id = 3 WHERE custom_column_3.book = ?",
"type": "bool"
}
]
}