We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9914f9c commit cef7d44Copy full SHA for cef7d44
1 file changed
api/index.rb
@@ -5,7 +5,7 @@
5
app = NavyKit.new
6
Handler = Proc.new do |request, response|
7
response["Access-Control-Allow-Origin"] = "*"
8
- response["Access-Control-Allow-Methods"] = "GET, POST, OPTIONS"
+ response["Access-Control-Allow-Methods"] = "*"
9
response["Content-Type"] = "application/json"
10
response.status = 200;
11
app.use(request, response)
0 commit comments