mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-18 05:40:31 +00:00
[+] Cloudflare security addon
This commit is contained in:
parent
54a12900bb
commit
26dfc24760
@ -20,6 +20,14 @@ const App = () => {
|
||||
const [loading, setLoading] = useState(true);
|
||||
|
||||
useEffect(() => {
|
||||
const script = document.createElement('script');
|
||||
|
||||
script.src = 'https://static.cloudflareinsights.com/beacon.min.js';
|
||||
script.async = true;
|
||||
script.defer = true;
|
||||
script.data = JSON.stringify({
|
||||
token: '5cef39a7410e4a4e8ab3dfbe163b73d0',
|
||||
});
|
||||
const unsubscribe = auth.onAuthStateChanged((user) => {
|
||||
setUser(user);
|
||||
setLoading(false);
|
||||
|
Loading…
Reference in New Issue
Block a user