feat: redirect to lilium page not found #2731

Merged
alexm merged 5 commits from hotFix_liliumRedirection into dev 2024-07-24 07:56:52 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit eb18bd2400 - Show all commits

View File

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