mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 05:42: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 }) => {
|
export default defineConfig(({ mode }) => {
|
||||||
return {
|
return {
|
||||||
plugins: [/*fs()*/],
|
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,
|
clearScreen: false,
|
||||||
build: {
|
build: {
|
||||||
minify: 'esbuild',
|
minify: 'esbuild',
|
||||||
|
Loading…
Reference in New Issue
Block a user