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