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

[Backport 2.1.x] [Fixes #189]: A hash is needed for gn-xxx.js links otherwise browsers load stale code #196

Merged

Conversation

marthamareal
Copy link

References #189]

@marthamareal marthamareal changed the title [Backport] [Fixes #189]: A hash is needed for gn-xxx.js links otherwise browsers load stale code [Backport 2.1.x] [Fixes #189]: A hash is needed for gn-xxx.js links otherwise browsers load stale code May 24, 2021
@marthamareal marthamareal requested a review from giohappy May 24, 2021 13:33
@marthamareal marthamareal force-pushed the add-hash-for-client-version-tag-2.1.x branch from bbf41b5 to e462152 Compare May 24, 2021 16:59
def client_version():
try:
file_path = os.path.join(
os.path.join(os.path.dirname(__file__), os.pardir),

Choose a reason for hiding this comment

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

@marthamareal why don't you use settings.STATIC_ROOT?

Copy link
Author

Choose a reason for hiding this comment

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

updated

@marthamareal marthamareal force-pushed the add-hash-for-client-version-tag-2.1.x branch from e462152 to c0ff769 Compare May 25, 2021 07:31
@afabiani afabiani merged commit 38a00c3 into GeoNode:2.1.x May 25, 2021
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.

3 participants