7837-testToMaster_2432 #2834

Merged
alexm merged 161 commits from 7837-testToMaster_2432 into master 2024-08-06 05:52:05 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit 4f32134001 - Show all commits

View File

@ -5,12 +5,13 @@ config.$inject = ['$stateProvider', '$urlRouterProvider'];
function config($stateProvider, $urlRouterProvider) {
$urlRouterProvider
.otherwise(async($injector, {$location}) => {
if (!$location.$$path) return window.location.href = '/#!/';
const prefix = '#!';
if (!$location.$$path) return window.location.href = `/${prefix}/`;
const url = $location.$$absUrl
.replace('5000', '9000')
.replace('salix', 'lilium')
.replace('#!', '#')
.replace(prefix, '#')
.replace('client', 'customer');
window.location.href = url;
});