-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathapplication.conf
63 lines (52 loc) · 1.33 KB
/
application.conf
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
play {
http {
secret.key = "CHANGE_ME"
errorHandler = "com.mehmetakiftutuncu.muezzinapi.ErrorHandler"
}
filters.hosts {
allowed = ["muezzin.herokuapp.com", "muezzin-staging.herokuapp.com", "localhost:9000"]
}
editor = "http://localhost:63342/api/file/?file=%s&line=%s"
i18n.langs = [ "en" ]
modules.enabled += "com.mehmetakiftutuncu.muezzinapi.Modules"
}
muezzinApi {
broom {
enabled = true
initialDelay = 1 minute
interval = 1 hour
effect = 1 day
}
cache {
timeout = 2 hours
}
dateFormatter {
format = "yyyy-MM-dd"
diyanet = "dd MMMM yyyy EEEE"
}
diyanet {
countriesUrl = "http://namazvakitleri.diyanet.gov.tr/tr-TR"
citiesUrl = "http://namazvakitleri.diyanet.gov.tr/tr-TR/home/GetRegList"
districtsUrl = "http://namazvakitleri.diyanet.gov.tr/tr-TR/home/GetRegList"
prayerTimesUrl = "http://namazvakitleri.diyanet.gov.tr/tr-TR/%s"
}
firebaseRealtimeDatabase {
credentialsFile = "conf/credentials.json"
databaseUrl = "https://muezzin-cb075.firebaseio.com"
}
heartbeat {
host = "http://localhost:9000"
interval = 1 minute
}
nuke {
code = "CHANGE_ME"
}
shovel {
enabled = true
initialDelay = 30 seconds
interval = 1 hour
}
ws {
timeout = 15 seconds
}
}