fix(minor): serve fingerprint.js locally

This commit is contained in:
Rushabh Mehta 2024-08-14 17:20:28 +05:30
parent b7758be1b5
commit 1068256620
2 changed files with 9 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -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 => {