CodeGenieApp / CodeGenieApp/serverless-express

Can't access static files behind Cloudfront

Open
#650 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
676
PR merge metrics
No merged PRs in 30d

Description

I have used @vendia/serverless-express to serve my Express app on a Lambda function behind APIGateway. I'm able to access the website and https://example.com.com/robots.txt . When I put a Cloudfront distribution in front of API Gateway I can still access the website but not the robots.txt. It just shows the homepage.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.