Parcourir la source

fix(api-docs): update script and stylesheet links to use non-minified versions

vtugulan il y a 6 mois
Parent
commit
b197661697
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app/api-docs/page.tsx

+ 2 - 2
app/api-docs/page.tsx

@@ -7,13 +7,13 @@ export default function ApiDocs() {
   useEffect(() => {
     // Load Scalar API Reference dynamically
     const script = document.createElement('script');
-    script.src = 'https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.32.9/dist/browser/standalone.min.js';
+    script.src = 'https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.32.9/dist/browser/standalone.js';
     script.async = true;
     document.body.appendChild(script);
 
     const style = document.createElement('link');
     style.rel = 'stylesheet';
-    style.href = 'https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.32.9/dist/style.min.css';
+    style.href = 'https://cdn.jsdelivr.net/npm/@scalar/api-reference@1.32.9/dist/style.css';
     document.head.appendChild(style);
 
     return () => {