fix(minor): serve fingerprint.js locally
This commit is contained in:
parent
b7758be1b5
commit
1068256620
2 changed files with 9 additions and 1 deletions
8
frappe/public/js/lib/fingerprintjs.js
Normal file
8
frappe/public/js/lib/fingerprintjs.js
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -23,7 +23,7 @@ ga('send', 'pageview');
|
|||
let query_params = frappe.utils.get_query_params();
|
||||
|
||||
// Get visitor ID based on browser uniqueness
|
||||
import('https://openfpcdn.io/fingerprintjs/v3')
|
||||
import('/assets/frappe/js/lib/fingerprintjs.js')
|
||||
.then(fingerprint_js => fingerprint_js.load())
|
||||
.then(fp => fp.get())
|
||||
.then(result => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue