mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
Update docs and response tag in share page (#694)
* perf: chunk index show * share response * perf: vector query * web printFinger * remove log * fix: bucket name * perf: training schema * perf: sort index
This commit is contained in:
9
packages/web/common/system/utils.ts
Normal file
9
packages/web/common/system/utils.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import FingerprintJS from '@fingerprintjs/fingerprintjs';
|
||||
|
||||
const fpPromise = FingerprintJS.load();
|
||||
|
||||
export const getUserFingerprint = async () => {
|
||||
const fp = await fpPromise;
|
||||
const result = await fp.get();
|
||||
console.log(result.visitorId);
|
||||
};
|
Reference in New Issue
Block a user