Browse Source

Modified security and HTML 5 routing

Bryan Allred 12 years ago
parent
commit
bd846c2780
2 changed files with 5 additions and 4 deletions
  1. 4 3
      crossdomain.xml
  2. 1 1
      scripts/app.js

+ 4 - 3
crossdomain.xml

@ -6,16 +6,17 @@
6 6
<!-- Read this: www.adobe.com/devnet/articles/crossdomain_policy_file_spec.html -->
7 7
8 8
<!-- Most restrictive policy: -->
9
<!--
9
10 10
	<site-control permitted-cross-domain-policies="none"/>
11
-->
11
12 12
	
13 13
	
14 14
<!-- Least restrictive policy: -->
15
15
<!--
16 16
	<site-control permitted-cross-domain-policies="all"/>
17 17
	<allow-access-from domain="*" to-ports="*" secure="false"/>
18 18
	<allow-http-request-headers-from domain="*" headers="*" secure="false"/>
19
-->
19 20
20 21
<!--
21 22
  If you host a crossdomain.xml file with allow-access-from domain="*" 	 	

+ 1 - 1
scripts/app.js

@ -2,7 +2,7 @@
2 2
3 3
angular.module("hexmeh", [])
4 4
    .config(["$routeProvider", "$locationProvider", function ($routeProvider, $locationProvider) {
5
        //$locationProvider.html5Mode(true);
5
        $locationProvider.html5Mode(true);
6 6
        
7 7
        $routeProvider.when("/", {
8 8
            controller: MainController,