Skip to content

Commit

Permalink
Merge pull request getredash#1857 from getredash/fix/alerts
Browse files Browse the repository at this point in the history
Angular configuration improvements
  • Loading branch information
arikfr authored Jun 29, 2017
2 parents 3b4da81 + f64769c commit fe2f08c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/app/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html ng-app="app">
<html ng-app="app" ng-strict-di>
<head lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
Expand Down
1 change: 1 addition & 0 deletions client/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ registerVisualizations(ngModule);

ngModule.config(($routeProvider, $locationProvider, $compileProvider,
uiSelectConfig, toastrConfig) => {
$compileProvider.debugInfoEnabled(false);
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|http|data):/);
$locationProvider.html5Mode(true);
uiSelectConfig.theme = 'bootstrap';
Expand Down
2 changes: 1 addition & 1 deletion client/app/multi_org.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html ng-app="app">
<html ng-app="app" ng-strict-di>
<head lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="UTF-8">
Expand Down

0 comments on commit fe2f08c

Please sign in to comment.