five-server
Version:
Development Server with Live Reload Capability. (Maintained Fork of Live Server)
8 lines • 480 B
TypeScript
/**
* @author Yannick Deubel (https://github.com/yandeu)
* @copyright Copyright (c) 2021 Yannick Deubel
* @license {@link https://github.com/yandeu/five-server/blob/main/LICENSE LICENSE}
*/
/** Checks if there is an index file and modifies req.url */
export declare const findIndex: (root: string, withExtension?: "always" | "avoid" | "redirect" | "unset", extensions?: string[]) => (req: any, res: any, next: any) => Promise<any>;
//# sourceMappingURL=findIndex.d.ts.map