kityminder.app.js 474 B

123456789101112131415
  1. angular.module('kityminderEditor', [
  2. 'ui.bootstrap',
  3. 'ui.codemirror',
  4. 'ui.colorpicker'
  5. ])
  6. .config(function($sceDelegateProvider) {
  7. $sceDelegateProvider.resourceUrlWhitelist([
  8. // Allow same origin resource loads.
  9. 'self',
  10. // Allow loading from our assets domain. Notice the difference between * and **.
  11. 'http://agroup.baidu.com:8910/**',
  12. 'http://cq01-fe-rdtest01.vm.baidu.com:8910/**',
  13. 'http://agroup.baidu.com:8911/**'
  14. ]);
  15. });