mihawk
Version:
A tiny & simple mock server tool, support json,js,cjs,ts(typescript).
37 lines (36 loc) • 897 B
TypeScript
/**
* Mihawk 包所在的根目录(绝对路径)
*/
export declare const PKG_ROOT_PATH: string;
/**
* assets 路径(相对于工程根目录,短路径)
*/
export declare const ASSET_DIR = "./assets";
/**
* assets 目录的绝对路径
*/
export declare const ASSET_DIR_PATH: string;
/**
* favicon 文件,绝对路径
*/
export declare const ASSET_FAVICON_PATH: string;
/**
* 本地证书 key 文件,绝对路径
*/
export declare const ASSET_CERT_LOCAL_KEY_PATH: string;
/**
* 本地证书 crt 文件,绝对路径
*/
export declare const ASSET_CERT_LOCAL_CRT_PATH: string;
/**
* CA 证书 crt 文件,绝对路径
*/
export declare const ASSET_CERT_CA_CRT_PATH: string;
/**
* 404 页面模板文件绝对路径
*/
export declare const ASSET_TPL_HTML_404_PATH: string;
/**
* 500 页面模板文件绝对路径
*/
export declare const ASSET_TPL_HTML_50X_PATH: string;