Refactor routing in App component to enhance navigation and improve error handling by integrating dynamic routes and updating the NotFound route.
This commit is contained in:
4
node_modules/astro/dist/runtime/server/endpoint.d.ts
generated
vendored
Normal file
4
node_modules/astro/dist/runtime/server/endpoint.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
import type { APIContext, EndpointHandler } from '../../@types/astro.js';
|
||||
import type { Logger } from '../../core/logger/core.js';
|
||||
/** Renders an endpoint request to completion, returning the body. */
|
||||
export declare function renderEndpoint(mod: EndpointHandler, context: APIContext, ssr: boolean, logger: Logger): Promise<Response>;
|
Reference in New Issue
Block a user