Merge pull request #7 from openwhisk/cors-headers

Add CORS headers to nginx conf file
diff --git a/api-gateway-config/scripts/lua/routing.lua b/api-gateway-config/scripts/lua/routing.lua
index aab80f5..3a07ae5 100644
--- a/api-gateway-config/scripts/lua/routing.lua
+++ b/api-gateway-config/scripts/lua/routing.lua
@@ -101,7 +101,7 @@
   elseif (string.lower(v) == 'delete') then
     ngx.req.set_method(ngx.HTTP_DELETE)
   elseif (string.lower(v) == 'patch') then
-      ngx.req.set_method(ngx.HTTP_PATH)
+      ngx.req.set_method(ngx.HTTP_PATCH)
   elseif (string.lower(v) == 'head') then
       ngx.req.set_method(ngx.HTTP_HEAD)
   elseif (string.lower(v) == 'options') then