openstax_api 5.5.2 → 5.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/openstax/api/v1/api_controller.rb +1 -1
- data/lib/openstax/api/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5fa790ee7f8cd673ac99386a7db4da3557b1c0
|
4
|
+
data.tar.gz: 29439fff53098f5ec45503f488d96cdf08f9bf2c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35a56586e12faf121ed6f9f1607080a0301b52f1241352ce9672285947646426ce6db55b33e681507eb9f6956f752d555b03d38ea292c1f3c350671f4ed5effa
|
7
|
+
data.tar.gz: fb87fc627a3fcfa84f5c009cf921fd6587897b4c6ceafdd492a623887ee10a81dddc0de24f932b54a30b8e0a447220a8a2a737150e2a3ae79659d68e0efd771b
|
@@ -75,7 +75,7 @@ module OpenStax
|
|
75
75
|
def set_cors_preflight_headers
|
76
76
|
headers['Access-Control-Allow-Origin'] = '*'
|
77
77
|
headers['Access-Control-Allow-Methods'] = 'GET, HEAD, POST, PUT, PATCH, DELETE, OPTIONS'
|
78
|
-
headers['Access-Control-Allow-Headers'] = 'X-Requested-With, X-Prototype-Version, Token'
|
78
|
+
headers['Access-Control-Allow-Headers'] = 'X-Requested-With, X-Prototype-Version, X-CSRF-Token, Token'
|
79
79
|
headers['Access-Control-Max-Age'] = '86400'
|
80
80
|
end
|
81
81
|
|
data/lib/openstax/api/version.rb
CHANGED