@@ -10,7 +10,11 @@
"routes": [
{
"src": "/(.*)",
- "dest": "/"
+ "dest": "./bin/www",
+ "methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
+ "headers": {
+ "Access-Control-Allow-Origin": "*"
+ }
}
]
- }