feat: redirect to lilium page not found #2731
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue