You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using less very successfully for some time now with no issues.
However, a new dev environment mandates a back end server that has all the devel stuff being accessed via a reverse proxy. So the address http://server goes to a port 80 listener (Apache) in the normal way, and http://devel.server is redirected to http://server:81, all of which is completely hidden from the normal user.
I can now no longer make dynamic adjustments to the less environment using sheets.push() and refreshStyles() etc as your internal ajax call falls over because of the same origin policy enforced by the browser.
How can I configure LESS to send CORS type headers to avoid this issue ??
Thanks for a great product, hope you can help
Regards
Ron Yuen
The text was updated successfully, but these errors were encountered:
Can you look at browser.js and make a suggestion? Would it make sense to be able to replace the get file method? Its often asked for. Before you make a pull request, this is already a goal of 2.0.. see the 2.0 pull request.
I don't know enough about cors to be able to suggest how we should go about fixing.
Hi
I've been using less very successfully for some time now with no issues.
However, a new dev environment mandates a back end server that has all the devel stuff being accessed via a reverse proxy. So the address http://server goes to a port 80 listener (Apache) in the normal way, and http://devel.server is redirected to http://server:81, all of which is completely hidden from the normal user.
I can now no longer make dynamic adjustments to the less environment using sheets.push() and refreshStyles() etc as your internal ajax call falls over because of the same origin policy enforced by the browser.
How can I configure LESS to send CORS type headers to avoid this issue ??
Thanks for a great product, hope you can help
Regards
Ron Yuen
The text was updated successfully, but these errors were encountered: