Skip to content

Commit af8127a

Browse files
committed
Don't cache service worker file
facebook/create-react-app#2440 This should resolve an issue where `index.html` is cached and pointing at an invalid JavaScript bundle.
1 parent d288d6f commit af8127a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: public/_headers

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/service-worker.js
2+
Cache-Control: no-cache
3+
Max-Age: 0

0 commit comments

Comments
 (0)