4 Commits
Author SHA1 Message Date
lzyyj c254506d97 ci: use JDK17 image
ci-backstage-repair / Build (Node) (push) Successful in 54s
2026-10-08 17:02:16 +08:00
lzyyj f727099ef2 ci: use JDK17 image
ci-backstage-repair / Build (Node) (push) Successful in 1m1s
2026-10-08 16:54:20 +08:00
lzyyj d22527adf8 ci: add build workflow
ci-backstage-repair / Build (Node) (push) Successful in 53s
2026-10-08 16:45:28 +08:00
lzyyj 18b6fb2af2 更新正式环境地址 2024-11-04 17:48:15 +08:00
2 changed files with 26 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
name: ci-backstage-repair
on:
push:
branches: [main]
workflow_dispatch:
jobs:
build:
name: Build (Node)
runs-on: node16
steps:
- name: Checkout
run: |
git clone --depth 1 --branch "$GITHUB_REF_NAME" "https://oauth2:${{ secrets.GITHUB_TOKEN }}@gitlab.scdswj.cn/hzd/backstage-repair.git" . 2>&1 | tail -2
git log --oneline -1
- name: Install
run: |
npm config set registry https://registry.npmmirror.com
npm install --no-audit --no-fund --legacy-peer-deps
- name: Build
run: |
npm run build
du -sh dist 2>/dev/null || true
+4 -1
View File
@@ -9,7 +9,10 @@ const errorCode = {
default: "系统未知错误,请反馈给管理员",
};
const url = "https://repair.cpolar.top"; // "https://hazard.cpolar.top";
// const url = "https://repair.cpolar.top"; // 开发地址
const url = "https://api.cqcxj.cn"; // 正式地址
// const url = "https://cqjql.scdswj.cn:9443"; // 临时地址
// const url = "https://repair-api.scdswj.cn"; // 测试环境地址
const service = axios.create({
baseURL: url,