Skip to content

Http status 404 for [...slug] #3470

@albertcito

Description

@albertcito

Environment


  • Operating System: Darwin
  • Node Version: v20.19.4
  • Nuxt Version: 3.17.7
  • CLI Version: 3.26.2
  • Nitro Version: 2.12.1
  • Package Manager: [email protected]
  • Builder: -
  • User Config: compatibilityDate, devtools, ssr, modules, css
  • Runtime Modules: @nuxt/[email protected], @nuxt/[email protected]
  • Build Modules: -

Version

v3

Reproduction

preview: https://albertcito-nuxt-content-test.nuxt.space/articles/facere-quidem-vero-eaque-dolores-sequi
github: https://github.com/albertcito/nuxt-content-test/blob/main/pages/articles/%5B...slug%5D.vue

Image

Description

I created a fake blog to test nux-content. It works properly locally. When I deployed it using Nuxt Studio, it works fine, except that the page returns HTTP status 404. But the article is displays properly anyway.

How can I make the page return an HTTP status 200?

Additional context

No response

Logs

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