@a11ywatch/core
Version:
a11ywatch central API
22 lines (21 loc) • 577 B
TypeScript
export declare const whitelist: string[];
declare const corsOptions: {
origin: string[] | boolean;
credentials: boolean;
};
export declare const BYPASS_AUTH: string[];
declare const cronTimer: string;
declare const logServerInit: (port: any, { graphqlPath }: {
graphqlPath?: string;
}) => void;
declare const fastifyConfig: {
https: {
allowHTTP1: boolean;
key: string;
cert: string;
};
trustProxy: boolean;
ignoreTrailingSlash: boolean;
http2: boolean;
};
export { corsOptions, logServerInit, fastifyConfig, cronTimer };