Don't use base

This commit is contained in:
Jeremy Mahieu 2019-12-18 18:40:51 +01:00 committed by Lorenz Hübschle-Schneider
parent 267bb20711
commit 6fcb54f7aa
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,6 @@
<meta http-equiv="x-dns-prefetch-control" content="off">
<!-- https://w3c.github.io/manifest/ && https://developer.mozilla.org/en-US/docs/Web/Manifest -->
<link rel="manifest" href="webapp.manifest.json">
<base href="/">
<title ng-bind-template="{{ notificationStatus }}Glowing Bear {{ pageTitle}}"></title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" />
<link rel="shortcut icon" sizes="128x128" href="assets/img/glowing_bear_128x128.png">

View File

@ -13,7 +13,10 @@ var weechat = angular.module('weechat', ['ngRoute', 'localStorage', 'weechatMode
weechat.compileProvider = $compileProvider;
//remove hashbang from url
$locationProvider.html5Mode(true).hashPrefix('');
$locationProvider.html5Mode({
enabled: true,
requireBase: false
}).hashPrefix('');
}]);
weechat.config(['$compileProvider', function ($compileProvider) {
// hack to determine whether we're executing the tests