Adds port configuration
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
2a52d7d83a
commit
25dc114246
@ -1,7 +1,18 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import react from '@vitejs/plugin-react-swc'
|
import react from '@vitejs/plugin-react-swc'
|
||||||
|
|
||||||
// https://vite.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
|
base: "/",
|
||||||
plugins: [react()],
|
plugins: [react()],
|
||||||
})
|
preview: {
|
||||||
|
port: 8083,
|
||||||
|
strictPort: true,
|
||||||
|
},
|
||||||
|
server: {
|
||||||
|
port: 8083,
|
||||||
|
strictPort: true,
|
||||||
|
host: true,
|
||||||
|
//origin: "http://0.0.0.0:8083",
|
||||||
|
},
|
||||||
|
})
|
||||||
Loading…
x
Reference in New Issue
Block a user