Ensure index.html isn't cached

Part of the solution to handle `ChunkLoadError` in code-splitting.

https://raphael-leger.medium.com/react-webpack-chunkloaderror-loading-chunk-x-failed-ac385bd110e0

#codesplit
This commit is contained in:
infinite-persistence 2021-07-07 14:24:13 +08:00
parent 3017155867
commit b326ad4ec1
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -3,6 +3,8 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<link rel="icon" type="image/png" href="/public/favicon.png" />
<link rel="preload" href="/public/font/v1/300.woff" as="font" type="font/woff" />