-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathhtml5-mode-patch.diff
26 lines (23 loc) · 1.21 KB
/
html5-mode-patch.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/app/templates/client/source/app/helper/router-helper.provider.js b/app/templates/client/source/app/helper/router-helper.provider.js
index 7fc9aa5..646b409 100644
--- a/app/templates/client/source/app/helper/router-helper.provider.js
+++ b/app/templates/client/source/app/helper/router-helper.provider.js
@@ -15,7 +15,7 @@
resolveAlways: {}
};
- $locationProvider.html5Mode(true);
+ // $locationProvider.html5Mode(true);
this.configure = function (cfg) {
angular.extend(config, cfg);
diff --git a/app/templates/client/source/index.jade b/app/templates/client/source/index.jade
index 43b6985..5b5e12c 100644
--- a/app/templates/client/source/index.jade
+++ b/app/templates/client/source/index.jade
@@ -10,7 +10,7 @@ html(lang="en", ng-app= app, ng-strict-di)
meta(charset="utf-8")
meta(http-equiv="X-UA-Compatible", content="IE=edge, chrome=1")
meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no")
- base(href="/")
+ base(href="./")
//- use HTML native comment syntax cause Jade comment syntax will lose a space
// use this to break lines