Don't use base

use-minification
Jeremy Mahieu 6 years ago committed by Lorenz Hübschle-Schneider
parent 267bb20711
commit 6fcb54f7aa
  1. 1
      index.html
  2. 5
      js/glowingbear.js

@ -12,7 +12,6 @@
<meta http-equiv="x-dns-prefetch-control" content="off"> <meta http-equiv="x-dns-prefetch-control" content="off">
<!-- https://w3c.github.io/manifest/ && https://developer.mozilla.org/en-US/docs/Web/Manifest --> <!-- https://w3c.github.io/manifest/ && https://developer.mozilla.org/en-US/docs/Web/Manifest -->
<link rel="manifest" href="webapp.manifest.json"> <link rel="manifest" href="webapp.manifest.json">
<base href="/">
<title ng-bind-template="{{ notificationStatus }}Glowing Bear {{ pageTitle}}"></title> <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="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"> <link rel="shortcut icon" sizes="128x128" href="assets/img/glowing_bear_128x128.png">

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

Loading…
Cancel
Save