From e9bbfb040c5437a0d93f258abddc66780a46d432 Mon Sep 17 00:00:00 2001 From: Guillermo Alonso-Linaje <65235481+KetpuntoG@users.noreply.github.com> Date: Mon, 11 Sep 2023 15:11:50 -0400 Subject: [PATCH] Update circuits_as_fourier_series.metadata.json (#921) fixing metadata And changing a path --- _static/demos/circuits_as_fourier_series/sketch.js | 2 +- demonstrations/circuits_as_fourier_series.metadata.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_static/demos/circuits_as_fourier_series/sketch.js b/_static/demos/circuits_as_fourier_series/sketch.js index 8d339f93db..bf2b69f1d8 100644 --- a/_static/demos/circuits_as_fourier_series/sketch.js +++ b/_static/demos/circuits_as_fourier_series/sketch.js @@ -1,4 +1,4 @@ -var url_prefix = '../_static/demos/circuits_as_fourier_series/src/'; +var url_prefix = '/_static/demos/circuits_as_fourier_series/src/'; // fetch(url_prefix + 'fourier0-1.png', {method: 'HEAD'}).then(res => { // if (!res.ok) { diff --git a/demonstrations/circuits_as_fourier_series.metadata.json b/demonstrations/circuits_as_fourier_series.metadata.json index ae2e50858f..c9b2c2ed5b 100644 --- a/demonstrations/circuits_as_fourier_series.metadata.json +++ b/demonstrations/circuits_as_fourier_series.metadata.json @@ -15,7 +15,7 @@ "previewImages": [ { "type": "thumbnail", - "uri": "/demonstrations/thumbnail_circuits_as_fourier_series.png" + "uri": "/_images/thumbnail_circuits_as_fourier_series.png" }, { "type": "large_thumbnail",