summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-bmx7/root
diff options
context:
space:
mode:
authorPaul Donald <newtwen@gmail.com>2024-01-30 19:38:01 +0100
committerPaul Donald <newtwen@gmail.com>2024-01-31 02:54:58 +0100
commit74b89027d35a1d4024900451936747c45705f4fb (patch)
treeba6069008fe0b38e2aa8dada21bcd699e956d6a9 /applications/luci-app-bmx7/root
parent4c2090afd865045e3693b84318de3b56f658e48a (diff)
luci-app-bmx7: Code quality fixes
Add integrity check for externally loaded d3 lib Signed-off-by: Paul Donald <newtwen@gmail.com>
Diffstat (limited to 'applications/luci-app-bmx7/root')
-rw-r--r--applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm
index 58ce9fdbf0..4a688bde61 100644
--- a/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm
+++ b/applications/luci-app-bmx7/root/usr/lib/lua/luci/view/bmx7/topology.htm
@@ -1,5 +1,5 @@
<%+header%>
-<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js"></script>
+<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.12/d3.min.js" integrity="sha512-uy3foVtL4u0+5430l7zZt4PHjVtICfrbu3mtzdanR425sKD7kS5264djeZAzNIV0l4vc1QkFpW2+G5i5KoJIFQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript" src="<%=resource%>/bmx7/js/netjsongraph.js"></script>
<link href="<%=resource%>/bmx7/css/netjsongraph.css" rel="stylesheet">