mirror of
https://github.com/Lissy93/awesome-privacy.git
synced 2026-03-11 08:55:33 +00:00
Update Hono API
This commit is contained in:
parent
6f06061c00
commit
3e2d719d47
2 changed files with 2 additions and 3 deletions
|
|
@ -21,8 +21,7 @@
|
|||
],
|
||||
plugins: [
|
||||
SwaggerUIBundle.plugins.DownloadUrl
|
||||
],
|
||||
layout: "StandaloneLayout"
|
||||
]
|
||||
});
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue