fix typo in servers settings for drf-spectacular

update the local dev server url to use http instead of https
This commit is contained in:
ghazi-git 2022-02-15 15:52:20 +01:00 committed by GitHub
parent 61be357ded
commit ca5411af9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -346,7 +346,7 @@ SPECTACULAR_SETTINGS = {
"VERSION": "1.0.0",
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAdminUser"],
"SERVERS": [
{"url": "https://127.0.0.1:8000", "description": "Local Development server"},
{"url": "http://127.0.0.1:8000", "description": "Local Development server"},
{"url": "https://{{ cookiecutter.domain_name }}", "description": "Production server"},
],
}