@@ -3,7 +3,7 @@ import { isDesktopApplication } from './utils';
|
|||||||
/* @ngInject */
|
/* @ngInject */
|
||||||
export function configRoutes($locationProvider: ng.ILocationProvider) {
|
export function configRoutes($locationProvider: ng.ILocationProvider) {
|
||||||
if (!isDesktopApplication()) {
|
if (!isDesktopApplication()) {
|
||||||
if (window.history && window.history.pushState) {
|
if (typeof window?.history?.pushState === 'function') {
|
||||||
$locationProvider.html5Mode({
|
$locationProvider.html5Mode({
|
||||||
enabled: true,
|
enabled: true,
|
||||||
requireBase: false
|
requireBase: false
|
||||||
|
|||||||
Reference in New Issue
Block a user