使前端与f10暂时使用IP访问后端

This commit is contained in:
BBIT-Kai
2026-06-05 09:12:31 +08:00
parent e4cec5e42c
commit a3df3b0322
8 changed files with 17 additions and 13 deletions
+1
View File
@@ -17,3 +17,4 @@ ktor/.kotlin/
sentinel/build/ sentinel/build/
iot/Sentinel/build/ iot/Sentinel/build/
*.engine *.engine
vue2/ce_vue_latest.tar
+3 -1
View File
@@ -1,3 +1,5 @@
import sun.jvmstat.monitor.MonitoredVmUtil.mainClass
val kotlin_version: String by project val kotlin_version: String by project
val logback_version: String by project val logback_version: String by project
@@ -8,7 +10,7 @@ plugins {
} }
group = "com.bbitcn" group = "com.bbitcn"
version = "0.0.5" version = "0.0.6"
application { application {
mainClass = "io.ktor.server.netty.EngineMain" mainClass = "io.ktor.server.netty.EngineMain"
+3 -2
View File
@@ -7,5 +7,6 @@ ktor:
traceability: traceability:
# 访问主服务的地址 # 访问主服务的地址
core-base-url: "http://127.0.0.1:8089" # 开发 # core-base-url: "http://127.0.0.1:8089" # 开发
# core-base-url: "https://ai.ronsunny.cn:8090/api" # 生产 core-base-url: "https://171.212.101.200:8090/api" # 生产 用IP
# core-base-url: "https://ai.ronsunny.cn:8090/api" # 生产 用域名
+4
View File
@@ -0,0 +1,4 @@
.idea/
build/
logs/
*.exe
-7
View File
@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
<mapping directory="$PROJECT_DIR$/.." vcs="Git" />
</component>
</project>
+1
View File
@@ -0,0 +1 @@
.idea/
+4 -2
View File
@@ -1,8 +1,10 @@
VITE_BASE=/ VITE_BASE=/
# 接口地址 # 接口地址
VITE_GLOB_API_URL=https://ai.ronsunny.cn:8090/api #VITE_GLOB_API_URL=https://ai.ronsunny.cn:8090/api
VITE_GLOB_API_URL_PY=https://ai.ronsunny.cn:8090/ai #VITE_GLOB_API_URL_PY=https://ai.ronsunny.cn:8090/ai
VITE_GLOB_API_URL=https://171.212.101.200:8090/api
VITE_GLOB_API_URL_PY=https://171.212.101.200:8090/ai
# 是否开启压缩,可以设置为 none, brotli, gzip # 是否开启压缩,可以设置为 none, brotli, gzip
VITE_COMPRESS=none VITE_COMPRESS=none
+1 -1
View File
@@ -1,7 +1,7 @@
# push_docker.ps1 # push_docker.ps1
# Set version # Set version
$env:VERSION = "1.5.5" $env:VERSION = "1.5.5.1"
# Docker registry/repository # Docker registry/repository
$registry = "ai.ronsunny.cn:13011/bbit_ai/ce_vue" $registry = "ai.ronsunny.cn:13011/bbit_ai/ce_vue"