Allow all hosts in Vite config for external access
This commit is contained in:
parent
d46d0a5b54
commit
8b00801628
1 changed files with 4 additions and 0 deletions
|
|
@ -3,4 +3,8 @@ import react from '@vitejs/plugin-react'
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
|
server: {
|
||||||
|
host: true,
|
||||||
|
port: 3000
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue