소스 검색

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

vtugulan 6 달 전
부모
커밋
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 () => {