Skip to content

Commit

Permalink
Fix: Migrate from unpkg to jsdelivr
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Apr 12, 2024
1 parent 4d3e274 commit dc4cdf5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/pages/dataintermediation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/dist/rapidoc.js'; // whatever url you want here
script.type = 'module'
script.charset = "utf-8";
script.crossOrigin = true;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/datamarketplace.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/dist/rapidoc.js'; // whatever url you want here
script.type = 'module'
script.charset = "utf-8";
script.crossOrigin = true;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]/dist/rapidoc.js'; // whatever url you want here
script.type = 'module'
script.charset = "utf-8";
script.crossOrigin = true;
Expand Down

0 comments on commit dc4cdf5

Please sign in to comment.