Repository navigation
Replies: 1 comment
|
Turns out i was using an older version of htmx. Downloading the latest version apparently fixed the issue. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey, on my server i have an endpoint that sets the
HX-Push-URLresponse header.However, this does not seem to be processed correctly, the URL in the browser does not change.
I have found a similar issue here, and also tried to set various CORS headers without success (should not be necessary, since it's same origin anyways).
Example:
My server response:

The URL in the browser remains unchanged though. Same behavior when using
HX-Replace-UrlorHX-Location.Exception:
HX-Redirectactually works as expected and redirects the client, but that is not what i need.Would appreciate any tip on what might go wrong here. Thanks!
All reactions