mirror of
https://github.com/parrazam/radicale-docker.git
synced 2024-11-23 12:39:13 +01:00
Updated config.js to clean some Sonar issues
This commit is contained in:
parent
bd6861a445
commit
4abe604875
1 changed files with 6 additions and 8 deletions
14
config.js
14
config.js
|
@ -992,14 +992,11 @@ var globalCompatibility={anniversaryOutputFormat: ['apple']};
|
||||||
// Example:
|
// Example:
|
||||||
var globalUriHandlerTel='tel:';
|
var globalUriHandlerTel='tel:';
|
||||||
var globalUriHandlerEmail='mailto:';
|
var globalUriHandlerEmail='mailto:';
|
||||||
var globalUriHandlerUrl='http://';
|
var globalUriHandlerUrl='https://';
|
||||||
var globalUriHandlerProfile={
|
var globalUriHandlerProfile={
|
||||||
'twitter': 'http://twitter.com/%u',
|
'twitter': 'https://twitter.com/%u',
|
||||||
'facebook': 'http://www.facebook.com/%u',
|
'facebook': 'https://www.facebook.com/%u',
|
||||||
'flickr': 'http://www.flickr.com/photos/%u',
|
'linkedin': 'https://www.linkedin.com/in/%u'
|
||||||
'linkedin': 'http://www.linkedin.com/in/%u',
|
|
||||||
'myspace': 'http://www.myspace.com/%u',
|
|
||||||
'sinaweibo': 'http://weibo.com/n/%u'
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
@ -1009,7 +1006,7 @@ var globalUriHandlerProfile={
|
||||||
// all supported country codes (defined in common.js):
|
// all supported country codes (defined in common.js):
|
||||||
// grep -E "'[a-z]{2}':\s+\[" common.js | sed -Ee 's#^\s+|\s+\[\s+# #g'
|
// grep -E "'[a-z]{2}':\s+\[" common.js | sed -Ee 's#^\s+|\s+\[\s+# #g'
|
||||||
// Example:
|
// Example:
|
||||||
var globalDefaultAddressCountry='us';
|
var globalDefaultAddressCountry='es';
|
||||||
|
|
||||||
|
|
||||||
// globalAddressCountryEquivalence
|
// globalAddressCountryEquivalence
|
||||||
|
@ -1051,6 +1048,7 @@ var globalDefaultAddressCountry='us';
|
||||||
// is used by default.
|
// is used by default.
|
||||||
// Example:
|
// Example:
|
||||||
var globalAddressCountryEquivalence=[
|
var globalAddressCountryEquivalence=[
|
||||||
|
{country: 'es', regex: '^\\W*Spain\\W*$'},
|
||||||
{country: 'de', regex: '^\\W*Deutschland\\W*$'},
|
{country: 'de', regex: '^\\W*Deutschland\\W*$'},
|
||||||
{country: 'sk', regex: '^\\W*Slovensko\\W*$'}
|
{country: 'sk', regex: '^\\W*Slovensko\\W*$'}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue