edge-rewrite
edge-rewrite copied to clipboard
Not working
Tried this in a new environment, but it doesnt work for some reasons. The stack got deployed but looks like the Lambda function is not structured properly. Attaching the zip file which gets used for the Lambda function.
I am not a developer in any way but when I pasted the code in online javascript validators, they threw a whole bunch of syntax errors edge-rewrite-prod-redirects.zip
Did some troubleshooting, it looks like the issue is caused by "serverless-plugin-optimize". tried older versions of that plugin, it showed different output but still a non functional Lambda function