Skip to content

Commit

Permalink
Disable CORS app and middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
vanbuiten committed Jul 12, 2023
1 parent eba0f5f commit a7621db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/main/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@
'rest_framework',
'drf_yasg',
'simple_history',
'corsheaders',
# 'corsheaders',
'signals_gisib',
]

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
# 'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
Expand Down
2 changes: 1 addition & 1 deletion app/signals_gisib/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
schema_view = get_schema_view(
openapi.Info(
title="signals-gisib-ams",
default_version="0.1.13",
default_version="0.1.14",
description="This API returns information about oak trees in a specific location as a GeoJSON output. "
"The API supports query parameters for filtering results.",
license=openapi.License(name="EUPL", url="https://github.com/Amsterdam/signals-gisib-ams/blob/main/LICENSE"),
Expand Down

0 comments on commit a7621db

Please sign in to comment.