Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

🔒️(backend) disable BrowsableAPIRenderer to prevent information leakage

lebaudantoine462c6c50e5a2
diff --git a/src/backend/meet/settings.py b/src/backend/meet/settings.py
index acd04609..2b58fb58 100755
--- a/src/backend/meet/settings.py
+++ b/src/backend/meet/settings.py
@@ -263,6 +263,9 @@ class Base(Configuration):
"rest_framework.parsers.JSONParser",
"nested_multipart_parser.drf.DrfNestedParser",
],
+ "DEFAULT_RENDERER_CLASSES": [
+ "rest_framework.renderers.JSONRenderer",
+ ],
"EXCEPTION_HANDLER": "core.api.exception_handler",
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
"PAGE_SIZE": 20,