2018-08-30 14:25:33 +00:00
|
|
|
export const R_URL_REQUIRES_PROTOCOL = /^https?:\/\/\w[\w_\-.]*\.[a-z]{2,8}[^\s]*$/;
|
2018-10-12 12:23:21 +00:00
|
|
|
|
|
|
|
export const STATS_NAMES = {
|
2018-11-09 06:51:28 +00:00
|
|
|
avg_processing_time: 'average_processing_time',
|
2018-10-12 12:23:21 +00:00
|
|
|
blocked_filtering: 'Blocked by filters',
|
|
|
|
dns_queries: 'DNS queries',
|
2018-11-09 06:51:28 +00:00
|
|
|
replaced_parental: 'stats_adult',
|
|
|
|
replaced_safebrowsing: 'stats_malware_phishing',
|
|
|
|
replaced_safesearch: 'enforced_save_search',
|
2018-10-12 12:23:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export const STATUS_COLORS = {
|
|
|
|
blue: '#467fcf',
|
|
|
|
red: '#cd201f',
|
|
|
|
green: '#5eba00',
|
|
|
|
yellow: '#f1c40f',
|
|
|
|
};
|
2018-10-14 20:24:11 +00:00
|
|
|
|
|
|
|
export const REPOSITORY = {
|
2018-10-15 13:02:19 +00:00
|
|
|
URL: 'https://github.com/AdguardTeam/AdGuardHome',
|
|
|
|
TRACKERS_DB: 'https://github.com/AdguardTeam/AdGuardHome/tree/master/client/src/helpers/trackers/adguard.json',
|
2018-10-14 20:24:11 +00:00
|
|
|
};
|
2018-11-21 08:43:55 +00:00
|
|
|
|
|
|
|
export const LANGUAGES = [
|
|
|
|
{
|
|
|
|
key: 'en',
|
|
|
|
name: 'English',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'ru',
|
|
|
|
name: 'Русский',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
key: 'vi',
|
|
|
|
name: 'Tiếng Việt',
|
|
|
|
},
|
|
|
|
];
|