Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading up site with unique param values? #3344

Closed
kevinkashou opened this issue Oct 28, 2017 · 1 comment
Closed

Loading up site with unique param values? #3344

kevinkashou opened this issue Oct 28, 2017 · 1 comment

Comments

@kevinkashou
Copy link

I have an app that when a user views the site they need to have jwt token and refresh id in the param (?t=aas;kldfjaksdf&r=123), how can I only in development pass in those two params value of my run script so that I can load up the site with those information and the entire app works? Or do you recommend another way?

Right now I am loading up the site https://localhost:3000 and the manually typing in (?t=whatevertoken&r=refreshid), I would like to not do that every time.

Thanks

@gaearon
Copy link
Contributor

gaearon commented Nov 3, 2017

You can set BROWSER env variable to a custom Node script that opens an arbitrary URL.
See here for some information about this feature: #1590.

@gaearon gaearon closed this as completed Nov 3, 2017
@lock lock bot locked and limited conversation to collaborators Jan 21, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants