Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I redirect with a huge list of urls? #18

Open
tuyendang-cerebral opened this issue Sep 15, 2021 · 2 comments
Open

How can I redirect with a huge list of urls? #18

tuyendang-cerebral opened this issue Sep 15, 2021 · 2 comments

Comments

@tuyendang-cerebral
Copy link

Say I have about 2k urls that need to redirect to new locations. My idea is create json file for mapping these urls. However, it seems like cloudfront function not support file access. I also add these mapping urls to the same file with the handler but it fails because the file is so big. What can I do now?

@thomasturrell
Copy link
Contributor

Consider using Lamda@Edge instead.

@piotrekwitkowski
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants