Delete redundant regex segment (#3100)

This commit is contained in:
San 2018-11-20 15:48:24 +08:00 committed by Arik Fraimovich
parent ee0d7f5ec9
commit 9e745ef648

View File

@ -2,7 +2,7 @@ import ngModule from '@/config';
ngModule.config(($locationProvider, $compileProvider, uiSelectConfig, toastrConfig) => { ngModule.config(($locationProvider, $compileProvider, uiSelectConfig, toastrConfig) => {
$compileProvider.debugInfoEnabled(false); $compileProvider.debugInfoEnabled(false);
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|data|tel|sms|mailto):/); $compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|data|tel|sms|mailto):/);
$locationProvider.html5Mode(true); $locationProvider.html5Mode(true);
uiSelectConfig.theme = 'bootstrap'; uiSelectConfig.theme = 'bootstrap';