You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
I am using version 2.3.3 of this plugin. I have a public folder with a file (file === hello.txt, content is hello world), however whenever I try serve that file, I get a 404. @danielcondemarin and @mattdell you can see a demonstration of this by going to https://sayy.it/hello.txt
Okay, so I realized that when I have cloudfront set to true, my public assets are not accessible. This was my problem. @danielcondemarin does this have to do with #95? Maybe I can update the documentation. BIG question: How would I get the public folder to work with cloudformation? I assume that I would need to use a domain for cloudformation?
Okay, I want to document what was my problem so that it can help other people. The problem is that I had the domain plugin for serverless installed, and it does not play nicely with domains for cloudfront. If someone is in the same situation: Remove your API gateway domain and disable the plugin for your cloudfront enabled stage (normally prod). Then follow the example and assign a domain to the cloudfront distribution.
Hi All
I am using version 2.3.3 of this plugin. I have a public folder with a file (file === hello.txt, content is hello world), however whenever I try serve that file, I get a 404. @danielcondemarin and @mattdell you can see a demonstration of this by going to https://sayy.it/hello.txt
Here is my setup:
What am I doing wrong?
The text was updated successfully, but these errors were encountered: