kyoyu_ishiki 0.1.0 → 0.2.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dca507a8f471bfe24bf199caa4f0612b3f344d37c639d99fd6081001ac7e5af9
|
4
|
+
data.tar.gz: 072ae8a2684dce90504376696b31e61bd694f9922553f38d5c543b0fc635bbae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f20fb3b8da93c716179502047cf7e1ce5166459a194fdf0467fda8e0270aa4fb2848ca77a26e7fbcc3397942df0ee556f9179f23b7ad8298f4e3b4aef7a69992
|
7
|
+
data.tar.gz: 472d9a9b0379ef596de009cd268dd3660adf1d30f93c2939ec135845c33caad4e0998dac7937d429082d82287210bda2b9e6e04026cbfa6db2e520ba7ae9bd1c
|
@@ -4,7 +4,10 @@ class KyōyūIshiki::App
|
|
4
4
|
end
|
5
5
|
|
6
6
|
def call(env)
|
7
|
-
Rack::Response.new
|
7
|
+
Rack::Response.new do |response|
|
8
|
+
response['Access-Control-Allow-Origin'] = '*'
|
9
|
+
handle(Rack::Request.new(env), response)
|
10
|
+
end.finish
|
8
11
|
end
|
9
12
|
|
10
13
|
def handle(request, response)
|