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

chore: remove CACHE_VERSION from service-worker.js #2342

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

prusnak
Copy link
Collaborator

@prusnak prusnak commented Mar 22, 2024

use server_startup_time as the version
(the same trick we use for static files)

I have no idea how to test this, so please do test!

use server_startup_time as the version
(the same trick we use for static files)
Copy link

codecov bot commented Mar 22, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 58.51%. Comparing base (2a1505b) to head (cc71d86).

Files Patch % Lines
lnbits/core/views/generic.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2342      +/-   ##
==========================================
+ Coverage   58.50%   58.51%   +0.01%     
==========================================
  Files          61       61              
  Lines        9271     9271              
==========================================
+ Hits         5424     5425       +1     
+ Misses       3847     3846       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@dni dni left a comment

Choose a reason for hiding this comment

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

this is genius! thanks :D

@dni dni added this to the 0.12.3 milestone Mar 22, 2024
@dni dni changed the title remove CACHE_VERSION from service-worker.js chore: remove CACHE_VERSION from service-worker.js Mar 22, 2024
@dni dni merged commit c8818f5 into dev Mar 22, 2024
23 checks passed
@dni dni deleted the remove-service-worker-cache-version branch March 22, 2024 11:33
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