Skip to content

[nuxt-llms] .md endpoint not working in production #3728

@cossssmin

Description

@cossssmin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions