Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

router.visit expects but doesn't list application/json in Accept header #1916

Open
ariel-codes opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@ariel-codes
Copy link

Versions:

  • @inertiajs/core version: 1.2.0
  • @inertiajs/vue2 version: #.#.#
  • @inertiajs/vue3 version: #.#.#
  • @inertiajs/react version: 1.2.0
  • @inertiajs/svelte version: #.#.#

Describe the problem:

packages/core/src/router.ts:354 sets the Accept header to something else than application/json even though that's exactly what it expects. Is this intentional?

Steps to reproduce:

  • Navigate using the router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant