Skip to content

Commit

Permalink
PR review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vejja committed Apr 25, 2024
1 parent 0cab7ed commit ea7d63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/defaultConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,5 @@ export const defaultSecurityConfig = (serverlUrl: string): Partial<ModuleOptions
hashScripts: true,
hashStyles: false
},
sri: true,
//runtimeHooks: true
sri: true
})
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type Ssg = {
export interface ModuleOptions {
headers: SecurityHeaders | false;
requestSizeLimiter: RequestSizeLimiter | false;
rateLimiter: RateLimiter;
rateLimiter: RateLimiter | false;
xssValidator: XssValidator | false;
corsHandler: CorsOptions | false;
allowedMethodsRestricter: AllowedHTTPMethods | false;
Expand Down

0 comments on commit ea7d63a

Please sign in to comment.