[DEV] remove unneeded variable
This commit is contained in:
parent
af96f6daae
commit
b6def9d2ff
@ -302,11 +302,7 @@ export class ArianeService {
|
|||||||
replaceCurrentPage: boolean = false): void {
|
replaceCurrentPage: boolean = false): void {
|
||||||
let addressOffset = `${ destination }/${ typeId }/${ seriesId }/${ seasonId }/${ videoId }`;
|
let addressOffset = `${ destination }/${ typeId }/${ seriesId }/${ seasonId }/${ videoId }`;
|
||||||
if(newWindows === true) {
|
if(newWindows === true) {
|
||||||
if(!isNullOrUndefined(environment.frontBaseUrl) || environment.frontBaseUrl === '') {
|
window.open(`/${ addressOffset}`);
|
||||||
window.open(`/${ addressOffset}`);
|
|
||||||
} else {
|
|
||||||
window.open(`/${ environment.frontBaseUrl }/${ addressOffset}`);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
this.router.navigate([ addressOffset ], { replaceUrl: replaceCurrentPage });
|
this.router.navigate([ addressOffset ], { replaceUrl: replaceCurrentPage });
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,6 @@ export const environment = {
|
|||||||
ssoSignIn: `${location.origin}/karso/signin/karideo/`,
|
ssoSignIn: `${location.origin}/karso/signin/karideo/`,
|
||||||
ssoSignUp: `${location.origin}/karso/signup/karideo/`,
|
ssoSignUp: `${location.origin}/karso/signup/karideo/`,
|
||||||
ssoSignOut: `${location.origin}/karso/signout/karideo/`,
|
ssoSignOut: `${location.origin}/karso/signout/karideo/`,
|
||||||
frontBaseUrl: '',
|
|
||||||
tokenStoredInPermanentStorage: false,
|
tokenStoredInPermanentStorage: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,7 +15,6 @@ const environment_back_prod = {
|
|||||||
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
||||||
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
||||||
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
||||||
frontBaseUrl: '',
|
|
||||||
tokenStoredInPermanentStorage: false,
|
tokenStoredInPermanentStorage: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -31,7 +30,6 @@ const environment_local = {
|
|||||||
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
||||||
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
||||||
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
||||||
frontBaseUrl: '',
|
|
||||||
tokenStoredInPermanentStorage: false,
|
tokenStoredInPermanentStorage: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -47,7 +45,6 @@ const environment_hybrid = {
|
|||||||
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
ssoSignIn: 'http://192.168.1.156/karso/signin/karideo-dev/',
|
||||||
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
ssoSignUp: 'http://192.168.1.156/karso/signup/karideo-dev/',
|
||||||
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
ssoSignOut: 'http://192.168.1.156/karso/signout/karideo-dev/',
|
||||||
frontBaseUrl: '',
|
|
||||||
tokenStoredInPermanentStorage: false,
|
tokenStoredInPermanentStorage: false,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user