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

i got error :htmx:invalidPath for verifyPath #2669

Closed
cryp2one opened this issue Jun 24, 2024 · 4 comments
Closed

i got error :htmx:invalidPath for verifyPath #2669

cryp2one opened this issue Jun 24, 2024 · 4 comments

Comments

@cryp2one
Copy link

i got error :htmx:invalidPath for verifyPath when i use hx-get from my rest api with another site

@Telroshan
Copy link
Collaborator

Referencing #2546 as your comment here suggests that was the same issue, submitted a PR to fix the selfRequestsOnly doc

@Telroshan
Copy link
Collaborator

Closing this as the documentation was updated ; this error is now intended to happen by default, and you have to set selfRequestsOnly to true when dealing with external URLs to allow this

@IT-Cru
Copy link

IT-Cru commented Jul 30, 2024

I think it would be good to also add this as information to related extensions and adjust examples in their README.md files.

For example in client side templates extension all mustache examples are not working currently without switching selfRequestOnly to false.
https://github.com/bigskysoftware/htmx-extensions/blob/main/src/client-side-templates/README.md

@Telroshan
Copy link
Collaborator

Good catch @IT-Cru , if you feel like it, a PR would be welcome to fix that documentation!

barakplasma added a commit to barakplasma/htmx-weather that referenced this issue Sep 1, 2024
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

3 participants