1
0
Fork 0
mirror of https://github.com/parrazam/radicale-docker.git synced 2024-11-23 14:59:16 +01:00

Updated config.js to clean some Sonar issues

This commit is contained in:
Parra 2022-04-21 17:48:15 +02:00 committed by parra
parent bd6861a445
commit 4abe604875

View file

@ -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*$'}
]; ];