fix: make it work with new vite

This commit is contained in:
Max Richter
2026-01-10 19:28:09 +01:00
parent 694feb083d
commit 8d712322c0
66 changed files with 590 additions and 1544 deletions

View File

@@ -4,9 +4,10 @@ import { PageProps } from "fresh";
import { resources } from "@lib/resources.ts";
import { RedirectSearchHandler } from "@islands/Search.tsx";
import { KMenu } from "@islands/KMenu.tsx";
import { define } from "../utils.ts";
// import "@lib/telegram.ts";
export default function Home(props: PageProps) {
export default define.page(function (props: PageProps) {
return (
<>
<RedirectSearchHandler />
@@ -32,4 +33,4 @@ export default function Home(props: PageProps) {
</MainLayout>
</>
);
}
});