add SRI hashes

This commit is contained in:
perennial
2024-10-18 15:29:13 +11:00
parent 2c18e2bc25
commit bb6b5d503d
+4 -4
View File
@@ -19,15 +19,15 @@
<link href="/css/bootstrap-style.css" rel="stylesheet" />
<script src="/js/htmx@1.9.10.min.js" integrity="sha384-D1Kt99CQMDuVetoL1lrYwg5t+9QdHe7NLX/SoJYkXDFfX37iInKRy5xLSi8nO7UC"></script>
<script src="/js/on-page-load.js"></script>
<script src="/js/on-page-load.js" integrity="sha384-FBakXYEa42a0uP3tfUR9CyQRC/Alh/X+9boxQmVFZ7D6KV35lCzL3PhPwRSs+09n"></script>
<script src="/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"></script>
<!-- TODO: load these JS files only on pages that require them -->
<script src="/js/illust-preview.js" defer></script>
<script src="/js/illust-preview.js" integrity="sha384-dMB50ketw2GwpAxOl/+BBjaQ7sTiL6CNtFAQN02oUcQlaFGD6dukwlDIe/8O4bsm" defer></script>
<!-- TODO: can be annoying when you accidentally scroll inside a horizontal scroll area instead of the main content -->
<!-- <script src="/js/horizontal-scroll.js" defer></script> -->
<script src="/js/comment-pagination.js" defer></script>
<script src="/js/comment-pagination.js" integrity="sha384-wislBAKZhWW3lwafk+EhRulmD6QtzxtgCmS9uuXRg4qLAXwdiQm2aOHwoBBK/2eY" defer></script>
{{- if CurrentPath == "/settings" }}
<script src="/js/proxy-toggle.js" defer></script>
<script src="/js/proxy-toggle.js" integrity="sha384-spn7RogsG0IKnrrTKHcboqynjrgfI0hUKmOad2DglE1uxltbVIpAgkhauVFlA8vD" defer></script>
{{- end }}
<meta content="summary_large_image" name="twitter:card" />