Merge pull request #3591 from ghazi-git/patch-1

Update the drf-spectacular local dev server url to use http instead of https
This commit is contained in:
Fábio C. Barrionuevo da Luz 2022-02-15 13:34:39 -03:00 committed by GitHub
commit e3182e3549
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"},
],
}