wsj
3 days ago d4610c829833996f91704b3891a5c5845bfe0d6b
feat: 域名
2 files modified
3 ■■■■■ changed files
.env 2 ●●●●● patch | view | raw | blame | history
src/api/request.ts 1 ●●●●● patch | view | raw | blame | history
.env
@@ -1,3 +1,3 @@
VITE_API_BASE_URL=http://121.41.54.56:9090/
VITE_API_BASE_URL=https://api.tersail.cn
# 开发环境代理目标(Vite 将 /proxy-api 转发到该地址)
VITE_API_PROXY_TARGET=http://121.41.54.56:9090
src/api/request.ts
@@ -292,7 +292,6 @@
  try {
    const response = merge && signal ? await raceWithSignal(task, signal) : await task;
    console.log('response', response);
    return formatResponse(response, options);
  } catch (error) {
    const apiError = toApiError(error);