From c505218896b0f002d11313736f5994682880a887 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 d60298dbf..610f830ba 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';