Skip to content

Commit

Permalink
fix: xframe value type
Browse files Browse the repository at this point in the history
  • Loading branch information
hongzzz committed Jul 3, 2024
1 parent 4a4d056 commit 6897d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ declare module 'egg' {
};
xframe: {
enable: boolean;
value: 'SAMEORIGIN' | 'DENY' | 'ALLOW-FROM';
value: 'SAMEORIGIN' | 'DENY' | `ALLOW-FROM ${string}`;
};
hsts: any;
methodnoallow: { enable: boolean };
Expand Down

0 comments on commit 6897d10

Please sign in to comment.