Renamed Connect to Connection
This commit is contained in:
parent
b6cf0e2d47
commit
ba1a7d07d1
4 changed files with 13 additions and 12 deletions
|
|
@ -102,6 +102,12 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
]
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_PERMISSION_CLASSES': (
|
||||
'rest_framework.permissions.IsAuthenticatedOrReadOnly',
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/3.2/topics/i18n/
|
||||
|
|
@ -130,9 +136,3 @@ DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
|||
CORS_ORIGIN_WHITELIST = [
|
||||
'http://localhost:3000'
|
||||
]
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_RENDERER_CLASSES': (
|
||||
'rest_framework.renderers.JSONRenderer',
|
||||
)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { useState, useEffect } from 'react';
|
|||
import ScanBlock from './ScanBlock';
|
||||
import Table from './Table';
|
||||
|
||||
const ConnectBlock = () => {
|
||||
const ConnectionBlock = () => {
|
||||
const [connectData, setConnectData] = useState('');
|
||||
const [display, setDisplay] = useState('');
|
||||
|
||||
|
|
@ -65,7 +65,8 @@ const ConnectBlock = () => {
|
|||
{display === 1 && <Table data={data} />}
|
||||
{display === 0 && (
|
||||
<div className="boxWrap">
|
||||
Unable to fetch info. Adblock or content filter may have prevented data from loading.
|
||||
Unable to fetch info. Adblock or content filter may have prevented
|
||||
data from loading.
|
||||
</div>
|
||||
)}
|
||||
<p>
|
||||
|
|
@ -76,4 +77,4 @@ const ConnectBlock = () => {
|
|||
);
|
||||
};
|
||||
|
||||
export default ConnectBlock;
|
||||
export default ConnectionBlock;
|
||||
|
|
@ -2,7 +2,7 @@ import FingerprintBlock from './FingerprintBlock';
|
|||
import LocationBlock from './LocationBlock';
|
||||
import HardwareBlock from './HardwareBlock';
|
||||
import SoftwareBlock from './SoftwareBlock';
|
||||
import ConnectBlock from './ConnectBlock';
|
||||
import ConnectionBlock from './ConnectionBlock';
|
||||
import FiltersBlock from './FiltersBlock';
|
||||
// import FontsBlock from './FontsBlock';
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ const ScanBlocks = () => (
|
|||
<>
|
||||
<FingerprintBlock />
|
||||
<LocationBlock />
|
||||
<ConnectBlock />
|
||||
<ConnectionBlock />
|
||||
<FiltersBlock />
|
||||
<SoftwareBlock />
|
||||
<HardwareBlock />
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"fpsLimit": 60,
|
||||
"fpsLimit": 30,
|
||||
"interactivity": {
|
||||
"detectsOn": "window",
|
||||
"events": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue