From b79b13a75bdf06cfebf159beb6bff10032f5d13b Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Sun, 22 Mar 2015 15:35:08 +0000 Subject: [PATCH] Configure location provider --- gui/scripts/syncthing/core/controllers/syncthingController.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/scripts/syncthing/core/controllers/syncthingController.js b/gui/scripts/syncthing/core/controllers/syncthingController.js index 00f910313..62b8eed48 100644 --- a/gui/scripts/syncthing/core/controllers/syncthingController.js +++ b/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';