Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
douxc committed Nov 14, 2024
1 parent 09010ed commit a1ac8c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion web/service/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,6 @@ export const request = async<T>(url: string, options = {}, otherOptions?: IOther
if (errResp.status === 401) {
const [parseErr, errRespData] = await asyncRunSafe<ResponseError>(errResp.json())
const loginUrl = `${globalThis.location.origin}/signin`
console.log(parseErr, errRespData)
if (parseErr) {
globalThis.location.href = loginUrl
return Promise.reject(err)
Expand Down

0 comments on commit a1ac8c2

Please sign in to comment.