Fakultas Ilmu Komputer UI

Commit 5337f890 authored by Ilma Ainur Rohma's avatar Ilma Ainur Rohma
Browse files

[CHORES] add cors expose headers

parent 330690cc
Pipeline #81442 passed with stages
in 2 minutes and 27 seconds
......@@ -149,6 +149,11 @@ HOME_INDUSTRY_ADMIN_SITE = {
CORS_ORIGIN_ALLOW_ALL = True
# HTTP headers that are to be exposed to the browser
CORS_EXPOSE_HEADERS = [
'Content-Disposition',
]
# django-rest-knox
# https://github.com/James1345/django-rest-knox
......
......@@ -153,6 +153,11 @@ HOME_INDUSTRY_ADMIN_SITE = {
CORS_ORIGIN_ALLOW_ALL = True
# HTTP headers that are to be exposed to the browser
CORS_EXPOSE_HEADERS = [
'Content-Disposition',
]
# django-rest-knox
# https://github.com/James1345/django-rest-knox
......
......@@ -153,6 +153,11 @@ HOME_INDUSTRY_ADMIN_SITE = {
CORS_ORIGIN_ALLOW_ALL = True
# HTTP headers that are to be exposed to the browser
CORS_EXPOSE_HEADERS = [
'Content-Disposition',
]
# django-rest-knox
# https://github.com/James1345/django-rest-knox
......
......@@ -153,6 +153,11 @@ HOME_INDUSTRY_ADMIN_SITE = {
CORS_ORIGIN_ALLOW_ALL = True
# HTTP headers that are to be exposed to the browser
CORS_EXPOSE_HEADERS = [
'Content-Disposition',
]
# django-rest-knox
# https://github.com/James1345/django-rest-knox
......
......@@ -153,6 +153,11 @@ HOME_INDUSTRY_ADMIN_SITE = {
CORS_ORIGIN_ALLOW_ALL = True
# HTTP headers that are to be exposed to the browser
CORS_EXPOSE_HEADERS = [
'Content-Disposition',
]
# django-rest-knox
# https://github.com/James1345/django-rest-knox
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment