fix inconsistent asset urls

This commit is contained in:
Aran-Fey
2024-06-04 19:23:38 +02:00
parent fa75a54e11
commit 14dcdb7e50
7 changed files with 40 additions and 21 deletions

View File

@@ -39,7 +39,7 @@ function withPlotly(callback: () => void): void {
// Otherwise fetch plotly and call the callback when it's done
console.debug('Fetching plotly.js');
let script = document.createElement('script');
script.src = '/rio/asset/special/plotly.min.js';
script.src = '/rio/assets/special/plotly.min.js';
fetchPlotlyPromise = new Promise((resolve) => {
script.onload = () => {