Fixed webgl issue
This commit is contained in:
parent
e4072d5134
commit
fd34d998c6
2 changed files with 8 additions and 8 deletions
|
|
@ -102,12 +102,12 @@ AUTH_PASSWORD_VALIDATORS = [
|
|||
},
|
||||
]
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_PERMISSION_CLASSES': (
|
||||
'rest_framework.permissions.IsAuthenticatedOrReadOnly',
|
||||
)
|
||||
}
|
||||
|
||||
# REST_FRAMEWORK = {
|
||||
# 'DEFAULT_AUTHENTICATION_CLASSES': [
|
||||
# 'rest_framework.authentication.BasicAuthentication',
|
||||
# 'rest_framework.authentication.SessionAuthentication',
|
||||
# ]
|
||||
# }
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/3.2/topics/i18n/
|
||||
|
|
|
|||
|
|
@ -177,12 +177,12 @@ const getWebGL = () => {
|
|||
{
|
||||
key: 'webGLVendor',
|
||||
title: 'WebGL vendor',
|
||||
value: gl.getParameter(ext.UNMASKED_VENDOR_WEBGL),
|
||||
value: ext ? gl.getParameter(ext.UNMASKED_VENDOR_WEBGL) : 'N/A',
|
||||
},
|
||||
{
|
||||
key: 'webglRenderer',
|
||||
title: 'WebGL renderer',
|
||||
value: gl.getParameter(ext.UNMASKED_RENDERER_WEBGL),
|
||||
value: ext ? gl.getParameter(ext.UNMASKED_RENDERER_WEBGL) : 'N/A',
|
||||
},
|
||||
];
|
||||
return data;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue