Skip to content

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

@xhandxym

Description

@xhandxym

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions