minor update

This commit is contained in:
Alexander Karpov 2024-01-02 20:38:21 +03:00
parent d8c4c0a927
commit 7cb24369ea
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<p>Your TOTP secret key is: {{ totp_key }}</p>
<div class="mb-4">
<img src="data:image/svg+xml;utf8,{{ qr_code_svg }}">
<img id="qr" src="data:image/svg+xml;utf8,{{ qr_code_svg }}">
</div>
<form method="post" class="form">

View File

@ -515,7 +515,7 @@
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
}
CORS_URLS_REGEX = r"^/api/.*$"
APPEND_SLASH = False
SPECTACULAR_SETTINGS = {
"TITLE": "akarpov API",
"SCHEMA_PATH_PREFIX": "/api/v[0-9]",