Update Hono API

This commit is contained in:
Alicia Sykes 2024-03-08 17:48:13 +00:00
parent 6f06061c00
commit 3e2d719d47
2 changed files with 2 additions and 3 deletions

View file

@ -21,8 +21,7 @@
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout"
]
});
}
</script>

View file

@ -25,7 +25,7 @@ export const findBySlug = <T extends { name: string }>(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();