Commit 3e2d719d47
Unsigned
Layout: unified · split
api/public/index.html +1 −2
| @@ -21,8 +21,7 @@ | ||
| 21 | 21 | ], |
| 22 | 22 | plugins: [ |
| 23 | 23 | SwaggerUIBundle.plugins.DownloadUrl |
| 24 | ], | |
| 25 | layout: "StandaloneLayout" | |
| 24 | ] | |
| 26 | 25 | }); |
| 27 | 26 | } |
| 28 | 27 | </script> |
api/src/utils.ts +1 −1
| @@ -25,7 +25,7 @@ export const findBySlug = <T extends { name: string }>(collection: T[], slug: st | ||
| 25 | 25 | |
| 26 | 26 | |
| 27 | 27 | export const renderRemoteIndex = async (ctx) => { |
| 28 | const indexHtmlUrl = 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/api/index.html'; | |
| 28 | const indexHtmlUrl = 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/api/public/index.html'; | |
| 29 | 29 | const response = await fetch(indexHtmlUrl); |
| 30 | 30 | if (response.ok) { |
| 31 | 31 | const htmlContent = await response.text(); |