mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 21:32:18 +02:00
HSTS + X-Content-Type-Options
This commit is contained in:
parent
3ef5428bd5
commit
c6a254ec75
@ -4,7 +4,14 @@ import { defineConfig } from 'vite';
|
||||
export default defineConfig(({ mode }) => {
|
||||
return {
|
||||
plugins: [/*fs()*/],
|
||||
server: { host: '0.0.0.0', port: 8000 },
|
||||
server: {
|
||||
headers: {
|
||||
'Strict-Transport-Security': 'max-age=63072000; includeSubDomains; preload',
|
||||
'X-Content-Type-Options': 'nosniff'
|
||||
},
|
||||
host: '0.0.0.0',
|
||||
port: 8000
|
||||
},
|
||||
clearScreen: false,
|
||||
build: {
|
||||
minify: 'esbuild',
|
||||
|
Loading…
Reference in New Issue
Block a user