Skip to content

Commit 84e30d9

Browse files
committed
chore: add X-Content-Type-Options + tsconfig moduleResolution PascalCase
1 parent 59944d8 commit 84e30d9

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"target": "ES2022",
44
"module": "ESNext",
5-
"moduleResolution": "bundler",
5+
"moduleResolution": "Bundler",
66
"jsx": "react-jsx",
77
"strict": true,
88
"skipLibCheck": true,

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export default defineConfig({
2929
port: Number(process.env.PORT) || 3000,
3030
headers: {
3131
'X-Frame-Options': 'DENY',
32+
'X-Content-Type-Options': 'nosniff',
3233
'Content-Security-Policy':
3334
"default-src 'self'; script-src 'self' 'unsafe-eval' 'unsafe-inline';",
3435
'Referrer-Policy': 'strict-origin-when-cross-origin',

0 commit comments

Comments
 (0)