14 lines
384 B
TypeScript
14 lines
384 B
TypeScript
import {
|
|
getPartialsConfig,
|
|
makePartials,
|
|
} from "$root/defaults/makePartials.tsx";
|
|
import { FreshContext } from "$fresh/server.ts";
|
|
import { State } from "$root/routes/_middleware.ts";
|
|
|
|
export function Index(_request: Request, _context: FreshContext<State>) {
|
|
return <h2>Welcome to Admin.</h2>;
|
|
}
|
|
|
|
export const config = getPartialsConfig();
|
|
export default makePartials(Index);
|