Hi there, I'm having some trouble getting .md URLs to work in production.
We use Cloudflare Pages, using npm run build (so, not static).
Our content.config.ts - https://github.com/maizzle/maizzle.com/blob/main/content.config.ts
nuxt.config.ts - https://github.com/maizzle/maizzle.com/blob/main/nuxt.config.ts
When developing locally, URLs such as http://localhost:8080/raw/docs/introduction.md work perfectly fine.
However, in production they aren't available:
https://maizzle.com/raw/docs/introduction.md
Not sure what's causing it, I think the content config is right, we do use page collections for this. Any help would be appreciated, thanks!
Hi there, I'm having some trouble getting .md URLs to work in production.
We use Cloudflare Pages, using
npm run build(so, not static).Our
content.config.ts- https://github.com/maizzle/maizzle.com/blob/main/content.config.tsnuxt.config.ts- https://github.com/maizzle/maizzle.com/blob/main/nuxt.config.tsWhen developing locally, URLs such as
http://localhost:8080/raw/docs/introduction.mdwork perfectly fine.However, in production they aren't available:
https://maizzle.com/raw/docs/introduction.md
Not sure what's causing it, I think the content config is right, we do use
pagecollections for this. Any help would be appreciated, thanks!