From c3bd38b58f9d43869966b38d7625e4cd757d87ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szekeres=20Ba=CC=81lint?= Date: Fri, 16 Feb 2018 09:09:29 +0100 Subject: [PATCH] html5Mode --- public/assets/js/app.js | 5 +++++ public/index.html | 1 + 2 files changed, 6 insertions(+) diff --git a/public/assets/js/app.js b/public/assets/js/app.js index e9c1a19..78db6ff 100644 --- a/public/assets/js/app.js +++ b/public/assets/js/app.js @@ -12,6 +12,11 @@ angular .module('NginxConfigIoApp', ['ngclipboard', '720kb.tooltips']) + .config(function NginxCongigIoConfig($locationProvider) { + $locationProvider + .html5Mode(true) + .hashPrefix('!'); + }) .controller('NginxConfigIoController', function NginxConfigIoController($scope, $location, $timeout) { /////////////////////// // PRIVATE VARIABLES // diff --git a/public/index.html b/public/index.html index 9bee9de..323fb1a 100644 --- a/public/index.html +++ b/public/index.html @@ -1,6 +1,7 @@ +