fix(ui): use scoped path prefix for vhtml script src

- Replace hardcoded /vhtml/vhtml.min.js with {{.scoped}}/vhtml/vhtml.min.js
    - Support dynamic path prefix for reverse proxy deployments
master
veypi 4 days ago
parent e5170201ab
commit 3bc5d5f093

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>vbase</title>
<script type="module" key='vhtml' src="/vhtml/vhtml.min.js"></script>
<script type="module" key='vhtml' src="{{.scoped}}/vhtml/vhtml.min.js"></script>
</head>
<body>

Loading…
Cancel
Save