diff --git a/api/public/index.html b/api/public/index.html index f058796..6484ada 100644 --- a/api/public/index.html +++ b/api/public/index.html @@ -21,8 +21,7 @@ ], plugins: [ SwaggerUIBundle.plugins.DownloadUrl - ], - layout: "StandaloneLayout" + ] }); } diff --git a/api/src/utils.ts b/api/src/utils.ts index 00e295c..16e3265 100644 --- a/api/src/utils.ts +++ b/api/src/utils.ts @@ -25,7 +25,7 @@ export const findBySlug = (collection: T[], slug: st export const renderRemoteIndex = async (ctx) => { - const indexHtmlUrl = 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/api/index.html'; + const indexHtmlUrl = 'https://raw.githubusercontent.com/Lissy93/awesome-privacy/main/api/public/index.html'; const response = await fetch(indexHtmlUrl); if (response.ok) { const htmlContent = await response.text();