-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Sprig error on multisite #390
Comments
It sounds like the requesting domain is different from the target domain, which is disallowed by htmx. Can you show me the network tab in the browser console for the request in question, as well as some more details about the development environment you’re using? |
Are there any details shown when you expand those two console errors? |
Thanks, it turns out that doesn’t give much insight into the issue. Can you please take a look at the HTML source code and check the value of the |
Glad to hear it! I already have a bug report open for that in craftcms/cms#15739. I’m not sure what the syntax error is about but it seems unrelated. |
Support Request
Hello,
I followed the tutorial to build a sprig board, but I ran into two issues.
I was trying to build it on backstage.mydomain.com but none of the sprig elements work and I get this error message:
htmx:invalidPath htmx.min.js?v=1726070015:1
w @ htmx.min.js?v=1726070015:1 de @ htmx.min.js?v=1726070015:1 fe @ htmx.min.js?v=1726070015:1 he @ htmx.min.js?v=1726070015:1 (anonymous) @ htmx.min.js?v=1726070015:1 i @ htmx.min.js?v=1726070015:1
I set up the same page on the primary domain and sprig works as it should.
The second issue is that on both my primary and backstage domain have this error:
htmx:invalidPath htmx.min.js?v=1726070015:1
w @ htmx.min.js?v=1726070015:1 de @ htmx.min.js?v=1726070015:1 fe @ htmx.min.js?v=1726070015:1 he @ htmx.min.js?v=1726070015:1 (anonymous) @ htmx.min.js?v=1726070015:1 i @ htmx.min.js?v=1726070015:1
Even with the error, sprig works on the primary site but not on backstage.
Craft 4.12.1 (waiting for a bugfix to upgrade to 5)
Sprig 2.13.0
Thanks!
Plugin Version
2.13.0
The text was updated successfully, but these errors were encountered: