支持配置后台页面入口

This commit is contained in:
yml2213
2026-06-11 08:00:13 +08:00
parent 7130135e23
commit 6d61a336d6
27 changed files with 157 additions and 85 deletions
+2 -1
View File
@@ -587,8 +587,9 @@ main() {
log_success "开发环境已启动"
if [[ "${NO_FRONTEND}" == "0" ]]; then
local admin_base_path="${VITE_ADMIN_BASE_PATH:-/admin}"
log "前台:http://localhost:5173"
log "后台:http://localhost:5173/admin/login"
log "后台:http://localhost:5173${admin_base_path%/}/login"
fi
log "按 Ctrl+C 停止前后端;Docker 依赖会保留运行"