Skip to content

Commit 75eee5d

Browse files
committed
chore(security): 注释掉 SRI 配置并添加算法选项
1 parent 4c1d385 commit 75eee5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

playground/.winrc.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import { defineConfig } from 'win';
33
export default defineConfig({
44
plugins: ['../src'],
55
security: {
6-
sri: true,
6+
// sri: true,
7+
sri: {
8+
// algorithm: 'sha256',
9+
// algorithm: 'sha384',
10+
},
711
},
812
});

0 commit comments

Comments
 (0)