修改为html5mode
This commit is contained in:
parent
f5da2ba5f6
commit
33780759a9
|
@ -3,8 +3,8 @@ default: &default
|
|||
# corpsecret: "corpsecret"
|
||||
# agentid: 1
|
||||
# Or if using public account, only need above two line
|
||||
appid: "wxc09454f171153c2d"
|
||||
secret: "dff5b606e34dcafe24163ec82c2715f8"
|
||||
appid: "wxf694495398c7d470"
|
||||
secret: "743e038392f1d89540e95f8f7645849a"
|
||||
token: "123456"
|
||||
access_token: "1234567"
|
||||
encrypt_mode: false # if true must fill encoding_aes_key
|
||||
|
|
|
@ -525,9 +525,9 @@ app.directive('loadingSpinner', function ($http) {
|
|||
};
|
||||
});
|
||||
|
||||
app.config(['$routeProvider',"$httpProvider",function ($routeProvider, $httpProvider) {
|
||||
app.config(['$routeProvider',"$httpProvider",function ($routeProvider, $httpProvider, $locationProvider) {
|
||||
var rootPath = '/assets/wechat/'
|
||||
|
||||
$locationProvider.html5Mode(true);
|
||||
$routeProvider
|
||||
.when('/activities', {
|
||||
templateUrl: rootPath + 'activities.html',
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue