فهرست منبع

Configure location provider

Audrius Butkevicius 10 سال پیش
والد
کامیت
c505218896
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      gui/scripts/syncthing/core/controllers/syncthingController.js

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

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