{ "version": 2, "env": { "NODE_OPTIONS": "--tls-min-v1.0" }, "functions": { "api/main.js": { "memory": 384, "maxDuration": 8, "includeFiles": "*(*.css|*.png)" } }, "routes": [{ "headers": { "Access-Control-Allow-Origin": "*", "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS", "Access-Control-Allow-Headers": "X-Requested-With, Content-Type, Accept" }, "src": "/(.*)", "dest": "api/main.js" }] }