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

DM-35535: Fix autoupdate for current pages #85

Merged
merged 2 commits into from
Jul 12, 2022
Merged

Conversation

mfisherlevine
Copy link
Collaborator

No description provided.

@@ -1,5 +1,5 @@
{% extends "single_event.jinja" %}
{% block footer_scripts %}
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type=text/javascript src="/rubintv/static/js/refresh-current.js"></script>
<script type=text/javascript src="/rubintv/static/js/refresh-current.js?v=1234"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't affect present functionality, but I'd recommend a more automated approach to cache-busting, like a Jinja function or environment context that provides a dynamically calculated hash of the script file.

@jonathansick jonathansick merged commit b0885ae into master Jul 12, 2022
@jonathansick jonathansick deleted the tickets/DM-35535 branch July 12, 2022 15:02
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

Successfully merging this pull request may close these issues.

None yet

3 participants