Skip to content

Commit ecac7b7

Browse files
Merge pull request #245 from hydroserver2/expose-x-total-pages
Expose x-total-pages
2 parents 3fd3450 + 11e6399 commit ecac7b7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

hydroserver/settings.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@
6565
CSRF_COOKIE_SECURE = False
6666
SESSION_COOKIE_SECURE = False
6767

68+
CORS_EXPOSE_HEADERS = [
69+
"X-Total-Pages",
70+
"X-Total-Count",
71+
]
6872

6973
# Application definition
7074

0 commit comments

Comments
 (0)