Commit 3e2d719d47

3e2d719d476fc5c4d29b23f0f7eeddf56a5404f8

parent: 6f06061c00

Unsigned

Alicia Sykes <alicia@omg.lol> · 2024-03-08 17:48 UTC

Update Hono API

Layout: unified · split

api/public/index.html +1 −2
@@ -21,8 +21,7 @@
2121 ],
2222 plugins: [
2323 SwaggerUIBundle.plugins.DownloadUrl
24 ],
25 layout: "StandaloneLayout"
24 ]
2625 });
2726 }
2827 </script>
api/src/utils.ts +1 −1
@@ -25,7 +25,7 @@ export const findBySlug = <T extends { name: string }>(collection: T[], slug: st
2525
2626
2727export 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';
2929 const response = await fetch(indexHtmlUrl);
3030 if (response.ok) {
3131 const htmlContent = await response.text();