Explorar el Código

Merge pull request #1510 from AudriusButkevicius/location

Configure location provider
Jakob Borg hace 11 años
padre
commit
3706f9bcb8

+ 3 - 0
gui/scripts/syncthing/core/controllers/syncthingController.js

@@ -1,4 +1,7 @@
 angular.module('syncthing.core')
 angular.module('syncthing.core')
+    .config(function($locationProvider) {
+        $locationProvider.html5Mode(true).hashPrefix('!');
+    })
     .controller('SyncthingController', function ($scope, $http, $location, LocaleService) {
     .controller('SyncthingController', function ($scope, $http, $location, LocaleService) {
         'use strict';
         'use strict';