Remove token from URL query string
Summary: This can be provided as an override, but is not needed for regular usage. Reviewed By: antonk52 Differential Revision: D50405097 fbshipit-source-id: 7238f99ef08bfdf5c7adda0e8c3294341ae86e89
This commit is contained in:
committed by
Facebook GitHub Bot
parent
b6560e1c74
commit
65fef5fbc3
@@ -309,9 +309,9 @@ async function launch() {
|
||||
|
||||
const openInBrowser = async () => {
|
||||
console.info('[flipper-server] Open in browser');
|
||||
const url = new URL(`http://localhost:${argv.port}`);
|
||||
|
||||
const searchParams = new URLSearchParams({token: token ?? ''});
|
||||
const url = new URL(`http://localhost:${argv.port}?${searchParams}`);
|
||||
console.info(`[flipper-server] Go to: ${chalk.blue(url.toString())}`);
|
||||
|
||||
open(url.toString(), {app: {name: open.apps.chrome}});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user