diff --git a/src/pages/dataintermediation.js b/src/pages/dataintermediation.js index f21d15e..5f4a87d 100644 --- a/src/pages/dataintermediation.js +++ b/src/pages/dataintermediation.js @@ -40,7 +40,7 @@ export default function DataIntermediation() { {() => { const script = document.createElement("script"); - script.src = 'https://unpkg.com/rapidoc/dist/rapidoc-min.js'; // whatever url you want here + script.src = 'https://cdn.jsdelivr.net/gh/rapi-doc/RapiDoc@9.3.4/dist/rapidoc.js'; // whatever url you want here script.type = 'module' script.charset = "utf-8"; script.crossOrigin = true; diff --git a/src/pages/datamarketplace.js b/src/pages/datamarketplace.js index ee3c2b4..ac9721c 100644 --- a/src/pages/datamarketplace.js +++ b/src/pages/datamarketplace.js @@ -40,7 +40,7 @@ export default function DataMarketplace() { {() => { const script = document.createElement("script"); - script.src = 'https://unpkg.com/rapidoc/dist/rapidoc-min.js'; // whatever url you want here + script.src = 'https://cdn.jsdelivr.net/gh/rapi-doc/RapiDoc@9.3.4/dist/rapidoc.js'; // whatever url you want here script.type = 'module' script.charset = "utf-8"; script.crossOrigin = true; diff --git a/src/pages/domain.js b/src/pages/domain.js index d433ecc..9b7760e 100644 --- a/src/pages/domain.js +++ b/src/pages/domain.js @@ -40,7 +40,7 @@ export default function Domain() { {() => { const script = document.createElement("script"); - script.src = 'https://unpkg.com/rapidoc/dist/rapidoc-min.js'; // whatever url you want here + script.src = 'https://cdn.jsdelivr.net/gh/rapi-doc/RapiDoc@9.3.4/dist/rapidoc.js'; // whatever url you want here script.type = 'module' script.charset = "utf-8"; script.crossOrigin = true;