CoolFace
Apppublic

executor1389/RealTimeCreditCardFraudDetectionApi

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
vercel.json35 linesDownload Raw Back to root
1{2    "rewrites": [3        {4            "source": "/api/(.*)",5            "destination": "/api/index.py"6        },7        {8            "source": "/(.*)",9            "destination": "/frontend/$1"10        }11    ],12    "headers": [13        {14            "source": "/api/(.*)",15            "headers": [16                {17                    "key": "Access-Control-Allow-Credentials",18                    "value": "true"19                },20                {21                    "key": "Access-Control-Allow-Origin",22                    "value": "*"23                },24                {25                    "key": "Access-Control-Allow-Methods",26                    "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT"27                },28                {29                    "key": "Access-Control-Allow-Headers",30                    "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"31                }32            ]33        }34    ]35}