mirror of
https://github.com/PlayEdu/frontend.git
synced 2025-06-28 02:42:52 +08:00
更改默认的host和端口
This commit is contained in:
parent
e72ffe3762
commit
8f054f67c7
@ -4,10 +4,14 @@ import gzipPlugin from "rollup-plugin-gzip";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
server: {
|
||||
host: "0.0.0.0",
|
||||
port: 9797,
|
||||
},
|
||||
plugins: [react()],
|
||||
build: {
|
||||
rollupOptions: {
|
||||
plugins: [gzipPlugin()],
|
||||
},
|
||||
}
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user