Skip to content

Commit

Permalink
feat: add ssrf declaration (#4687)
Browse files Browse the repository at this point in the history
Co-authored-by: deydu <deydu@tencent.com>
Co-authored-by: fengmk2 <fengmk2@gmail.com>
  • Loading branch information
3 people committed Jan 2, 2023
1 parent df1148f commit b1414f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,11 @@ declare module 'egg' {
noopen: { enable: boolean; }
xssProtection: any;
csp: any;
ssrf: {
ipBlackList: string[];
ipExceptionList: string[];
checkAddress(ip: string): boolean;
};
};

siteFile: PlainObject<string | Buffer>;
Expand Down

0 comments on commit b1414f2

Please sign in to comment.