[DEV] remove unneeded variable

This commit is contained in:
Edouard DUPIN 2022-12-18 08:30:03 +01:00
parent af96f6daae
commit b6def9d2ff
3 changed files with 1 additions and 9 deletions

View File

@ -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}`);
}
} else {
this.router.navigate([ addressOffset ], { replaceUrl: replaceCurrentPage });
}

View File

@ -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,
};

View File

@ -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,
};