fix: without path
gitea/salix/pipeline/pr-dev This commit looks good
Details
gitea/salix/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
a472059043
commit
eb18bd2400
|
@ -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