mirror of
https://github.com/yangzongzhuan/RuoYi-Vue3.git
synced 2025-09-27 23:02:41 +00:00
开启通过ip访问的配置
This commit is contained in:
@@ -21,6 +21,7 @@ export default defineConfig(({ mode, command }) => {
|
|||||||
// vite 相关配置
|
// vite 相关配置
|
||||||
server: {
|
server: {
|
||||||
port: 80,
|
port: 80,
|
||||||
|
host: true,
|
||||||
open: true,
|
open: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
// https://cn.vitejs.dev/config/#server-proxy
|
// https://cn.vitejs.dev/config/#server-proxy
|
||||||
|
Reference in New Issue
Block a user