mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-01-10 21:32:35 +01:00
7 lines
310 B
TypeScript
7 lines
310 B
TypeScript
|
import { IncomingMessage, ServerResponse } from "http";
|
||
|
export interface ReferrerPolicyOptions {
|
||
|
policy?: string | string[];
|
||
|
}
|
||
|
declare function referrerPolicy(options?: Readonly<ReferrerPolicyOptions>): (_req: IncomingMessage, res: ServerResponse, next: () => void) => void;
|
||
|
export default referrerPolicy;
|