minor bug fixed SESSION_MANAGER when not in env
This commit is contained in:
parent
bde038a8d0
commit
1a8601e634
1 changed files with 5 additions and 4 deletions
|
|
@ -18,10 +18,11 @@ export const color = {
|
||||||
|
|
||||||
// shows address for connection au server transcendance
|
// shows address for connection au server transcendance
|
||||||
const session = process.env.SESSION_MANAGER ?? '';
|
const session = process.env.SESSION_MANAGER ?? '';
|
||||||
const part = session.split('/')[1];
|
if (session) {
|
||||||
const machineName = part.split('.')[0];
|
const part = session.split('/')[1];
|
||||||
console.log(color.yellow, 'Connect at : https://' + machineName + ':8888/app/login');
|
const machineName = part.split('.')[0];
|
||||||
|
console.log(color.yellow, 'Connect at : https://' + machineName + ':8888/app/login');
|
||||||
|
}
|
||||||
|
|
||||||
declare const __SERVICE_NAME: string;
|
declare const __SERVICE_NAME: string;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue