v3.0.2
almost 4 years ago by Sergey Mostsevenko
-
fix: It's impossible to set an endpoint that is relative to the current domain in the
FingerprintJS.load()
function. For example, the following code didn't work:const fp = await FingerprintJS.load({ token: 'your-token', endpoint: '/metrics' }) const result = await fp.get()
Warning. If you set the
endpoint
option to something likemetrics.example.com
, it will break because this is not an expected behavior. Change the endpoint tohttps://metrics.example.com
.