Эх сурвалжийг харах

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

vtugulan 6 сар өмнө
parent
commit
b197661697
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  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 () => {