Hello there 👋🏼
I'm trying to deploy a simple Astro project using SSR.
I want to deploy it with AWS Lambda given this page will be rendered at most three times per week.
However one would think the first steps would be to:
- develop using
npm run dev(works wonders) - build with
npm run build - run the server locally using
node dist/server/entry.mjs
However, I can't get it to work. I get blackscreen on every detail page:
Details:
- I'm using Svelte
- Oddly enough, this error only happens when trying to retrieve an object from my external API that exists. Whenever the detail view does not exist (i.e: localhost:5000/44), I get the proper 404 page