forked from ERNICommunity/at11
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
106 lines (104 loc) · 2.74 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
/* TODO:
http://livingrestaurant.net/denne-menu/
http://www.vulcano.sk/menu/denne-menu.html
// xor:
url: 'https://restauracie.sme.sk/restauracia/vulcano_4536-zilina_2737/denne-menu',
http://www.trezorzilina.sk/ponuka/tyzdenne-menu
Tempo: http://www.dobreobedy.sk/
Mamma mia: https://www.auparkzilina.sk/obsah/obedove-menu
*/
module.exports = {
port: process.env.PORT || 17605,
cacheExpiration: 2 * 60 * 60 * 1000, //2h
parserTimeout: 20 * 1000, //20s
restaurants: [
{
id: 1,
name: 'Trattoria',
url: 'http://restauracie.sme.sk/restauracia/trattoria-pepe_3300-zilina_2737/denne-menu',
module: 'trattoria_za'
},
{
id: 2,
name: 'Spirit',
url: 'http://restauracie.sme.sk/restauracia/restauracia-spirit_6918-zilina_2737/denne-menu',
module: 'chef_spirit_za'
},
{
id: 4,
name: 'Gusto',
url: 'http://restauracie.sme.sk/restauracia/gusto_4537-zilina_2737/denne-menu',
module: 'chef_spirit_za'
},
{
id: 7,
name: 'Crazy Culinary',
url: 'https://menucka.sk/denne-menu/zilina/crazy-culinary-bistro',
module: 'menucka'
},
{
id: 8,
name: 'Level 7',
url: 'http://restauracie.sme.sk/restauracia/level-7_4546-zilina_2737/denne-menu',
module: 'trattoria_za'
},
{
id: 6,
name: 'Na Bráne',
url: 'https://restauracie.sme.sk/restauracia/restauracia-na-brane_2508-zilina_2737/denne-menu',
module: 'na_brane_za'
},
{
id: 9,
name: 'Chef restaurant',
url: 'http://restauracie.sme.sk/restauracia/chef-restaurant-bar_7274-zilina_2737/denne-menu',
module: 'chef_spirit_za'
},
{
id: 5,
name: 'Kamélia',
url: 'http://restauracie.sme.sk/restauracia/penzion-kamelia_2004-zilina_2737/denne-menu',
module: 'kamelia_za'
},
{
id: 10,
name: 'Central Park',
url: 'http://restauracie.sme.sk/restauracia/penzion-central-park_5515-zilina_2737/denne-menu',
module: 'central_park_za'
},
{
id: 3,
name: 'O2',
url: 'http://restauracie.sme.sk/restauracia/restauracia-02_2492-zilina_2737/denne-menu',
module: 'chef_spirit_za'
},
/*{
id: 5,
name: 'Vulcano',
url: 'http://www.vulcano.sk/?page_id=12',
module: 'vulcano_za'
},*/
],
themes: {
'jano': {
name: 'Jano',
template: '../views/index.html'
},
'matus': {
name: 'Matúš',
template: '../views/index3.html'
},
'iveta': {
name: 'Iveta',
template: '../views/index4.html'
},
'diana': {
name: 'Diana',
template: '../views/index6.html'
},
'telka': {
name: 'Telka',
template: '../views/index5.html'
}
}
};