| { | |
| "version": 2, | |
| "builds": [ | |
| { | |
| "src": "run.py", | |
| "use": "@vercel/python" | |
| } | |
| ], | |
| "routes": [ | |
| { | |
| "src": "/(.*)", | |
| "methods": ["OPTIONS"], | |
| "headers": { | |
| "Access-Control-Allow-Origin": "*", | |
| "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS", | |
| "Access-Control-Allow-Headers": "Content-Type, Authorization", | |
| "Access-Control-Max-Age": "86400" | |
| }, | |
| "status": 200 | |
| }, | |
| { | |
| "src": "/(.*)", | |
| "dest": "run.py" | |
| } | |
| ] | |
| } |