diff --git a/front/src/app/service/ariane.ts b/front/src/app/service/ariane.ts index a6ef875..7e56068 100644 --- a/front/src/app/service/ariane.ts +++ b/front/src/app/service/ariane.ts @@ -302,11 +302,7 @@ export class ArianeService { replaceCurrentPage: boolean = false): void { let addressOffset = `${ destination }/${ typeId }/${ seriesId }/${ seasonId }/${ videoId }`; if(newWindows === true) { - if(!isNullOrUndefined(environment.frontBaseUrl) || environment.frontBaseUrl === '') { - window.open(`/${ addressOffset}`); - } else { - window.open(`/${ environment.frontBaseUrl }/${ addressOffset}`); - } + window.open(`/${ addressOffset}`); } else { this.router.navigate([ addressOffset ], { replaceUrl: replaceCurrentPage }); } diff --git a/front/src/environments/environment.prod.ts b/front/src/environments/environment.prod.ts index 5e23e36..c801a2c 100644 --- a/front/src/environments/environment.prod.ts +++ b/front/src/environments/environment.prod.ts @@ -15,7 +15,6 @@ export const environment = { ssoSignIn: `${location.origin}/karso/signin/karideo/`, ssoSignUp: `${location.origin}/karso/signup/karideo/`, ssoSignOut: `${location.origin}/karso/signout/karideo/`, - frontBaseUrl: '', tokenStoredInPermanentStorage: false, }; diff --git a/front/src/environments/environment.ts b/front/src/environments/environment.ts index 545a38d..f664548 100644 --- a/front/src/environments/environment.ts +++ b/front/src/environments/environment.ts @@ -15,7 +15,6 @@ const environment_back_prod = { ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/', ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/', ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/', - frontBaseUrl: '', tokenStoredInPermanentStorage: false, }; @@ -31,7 +30,6 @@ const environment_local = { ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/', ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/', ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/', - frontBaseUrl: '', tokenStoredInPermanentStorage: false, }; @@ -47,7 +45,6 @@ const environment_hybrid = { ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/', ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/', ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/', - frontBaseUrl: '', tokenStoredInPermanentStorage: false, };