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

怎么用js获取当前环境的IP? #301

Open
xhandxym opened this issue Nov 29, 2019 · 1 comment
Open

怎么用js获取当前环境的IP? #301

xhandxym opened this issue Nov 29, 2019 · 1 comment

Comments

@xhandxym
Copy link

environment
获取当前环境
const env = hitchhiker.environment;

文档里面可以获取当前环境,但是没有获取到当前环境的ip?我需要在全局脚本里面用js来获取当前环境的ip,因为这样可以生成对应的token,请问有什么方法可以做到吗?谢谢!

@xhandxym
Copy link
Author

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant