diff --git a/.gitignore b/.gitignore index ef1d8c7..319a19b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,9 @@ ## ide **/.idea +**/.project +**/.classpath +**/.factorypath +**/.settings/ *.iml rebel.xml .project @@ -10,6 +14,7 @@ rebel.xml ## backend **/target +**/bin/ **/logs ## front diff --git a/jeecgboot-vue3/.env.development b/jeecgboot-vue3/.env.development index a62e0f7..bcc2eaa 100644 --- a/jeecgboot-vue3/.env.development +++ b/jeecgboot-vue3/.env.development @@ -7,10 +7,10 @@ VITE_PUBLIC_PATH = / # 跨域代理:前缀需与 VITE_GLOB_API_URL 一致,且 rewrite 后路径需包含后端 context-path(/jeecg-boot) # 详见 build/vite/proxy.ts -VITE_PROXY = [["/jeecg-boot","http://localhost:8888/jeecg-boot"],["/upload","http://localhost:3300/upload"]] +VITE_PROXY = [["/jeecg-boot","http://localhost:8888"],["/upload","http://localhost:3300/upload"]] #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=http://localhost:8888/jeecg-boot +VITE_GLOB_DOMAIN_URL=http://localhost:8888 #后台接口父地址(必填),与 server.servlet.context-path 一致,避免仅去掉别名前缀后缺少 /jeecg-boot VITE_GLOB_API_URL=/jeecg-boot diff --git a/jeecgboot-vue3/.env.production b/jeecgboot-vue3/.env.production index 633d09e..a4ccda5 100644 --- a/jeecgboot-vue3/.env.production +++ b/jeecgboot-vue3/.env.production @@ -13,7 +13,7 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=/jeecgboot +VITE_GLOB_API_URL=/jeecg-boot #后台接口全路径地址(必填) VITE_GLOB_DOMAIN_URL=http://127.0.0.1:8888/jeecg-boot