json_voorhees 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb899b2ecba34e2d1faef0309eef137129279be3
|
4
|
+
data.tar.gz: 5beb086e47f62418f5c1c56827ae374c15e1dd72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb4836771e5eb971a1f6ff1a5c43d5e0168da118f87bbf8f6ea3323dd00e4936d4aa70d1bb71cef4d4ada5e4b49ea8dbcff04ebd7b0f4032e1df7ec4b49d997e
|
7
|
+
data.tar.gz: d9cd4890d652b3c1f2b3c6021ff4f10ea4ffb2ecd35893959173b66ea3569ceb531e15637cdae527187b8e73a234a91d1ca7081ab21505b0c1646f4bf13b9485
|
@@ -38,13 +38,13 @@ class Api::V1::ApiController < ::ActionController::API
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def cors_preflight_check
|
41
|
-
if request.method == 'OPTIONS'
|
41
|
+
#if request.method == 'OPTIONS'
|
42
42
|
request.headers['Access-Control-Allow-Origin'] = '*'
|
43
43
|
request.headers['Access-Control-Allow-Methods'] = 'POST, GET, PUT, PATCH, DELETE, OPTIONS'
|
44
44
|
request.headers['Access-Control-Allow-Headers'] = 'X-Requested-With, X-Prototype-Version, Token, Auth-Token, Email'
|
45
45
|
request.headers['Access-Control-Max-Age'] = '1728000'
|
46
46
|
render :text => '', :content_type => 'text/plain'
|
47
|
-
end
|
47
|
+
#end
|
48
48
|
end
|
49
49
|
|
50
50
|
end
|