Use SESSION_ID
Reviewed By: lblasa Differential Revision: D51585227 fbshipit-source-id: e5574a27b77311b699630a30f72a2d67187ed544
This commit is contained in:
committed by
Facebook GitHub Bot
parent
272b96f1d4
commit
24fa44448e
@@ -9,4 +9,9 @@
|
||||
|
||||
import {uuid} from 'flipper-common';
|
||||
|
||||
export const sessionId = uuid();
|
||||
if (process.env.FLIPPER_SESSION_ID) {
|
||||
console.info('Use external session ID', process.env.FLIPPER_SESSION_ID);
|
||||
}
|
||||
export const sessionId = `${
|
||||
process.env.FLIPPER_SESSION_ID ?? 'unset'
|
||||
}::${uuid()}`;
|
||||
|
||||
Reference in New Issue
Block a user