mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 11:34:00 +03:00
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:
parent
61be357ded
commit
ca5411af9a
|
@ -346,7 +346,7 @@ SPECTACULAR_SETTINGS = {
|
||||||
"VERSION": "1.0.0",
|
"VERSION": "1.0.0",
|
||||||
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAdminUser"],
|
"SERVE_PERMISSIONS": ["rest_framework.permissions.IsAdminUser"],
|
||||||
"SERVERS": [
|
"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"},
|
{"url": "https://{{ cookiecutter.domain_name }}", "description": "Production server"},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user