Closed NL-TCH closed 1 year ago
This issue does not occur when on version 0.6.1
Okay, thanks. This is getting extremely annoying, I'm not sure what's going on with skypack but if their turbo URLs are not down, then they keep changing their hash.
I committed a change to switch to jsdelivr CDN now.
@NL-TCH can I ask you to install the main branch and give it a try? Let me know if this works better and I'll make another official release. Thanks!
what do you mean by main branch? this github repo branch self compiled?
@NL-TCH Sorry, I should have been more clear. You can install Python packages directly from GitHub. The command you need to run is this:
pip install git+https://github.com/miguelgrinberg/turbo-flask
@miguelgrinberg Thank you for your response, actually i did change this from
{{ turbo() }}
to
{{ turbo(url= "https://cdn.skypack.dev/@hotwired/turbo") }}
and that solved my issue without updating the package, it duo to skypack changing resources link.
@ilies-space Sure, that would work too, but in general this is considered a bad practice. Not a good idea to unpin your turbo release. Whenever the turbo.js project releases a new version your application will upgrade outside of your control and without you having an opportunity to test.
The function does not work and the section of the site does not refresh