vite host regression fix (#2217)

add host to vite config
This commit is contained in:
Neil
2024-01-13 01:45:20 +00:00
committed by GitHub
parent b477f7c2f1
commit dccad902d6
2 changed files with 7 additions and 0 deletions

View File

@@ -130,6 +130,7 @@ export default defineConfig(async ({ mode }) => {
},
},
server: {
host: true,
headers: mode === 'development' ? devHeaders : undefined,
port: +env.PORT || 5173,
open: env.BROWSER

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [carkom]
---
vite hosting regression fix. adds hosting on network back onto vite.