chore: remove log

This commit is contained in:
hdsuperman
2022-12-22 22:21:06 +08:00
parent f4fbc7adbd
commit a9ac199ac5
3 changed files with 188 additions and 240 deletions
-1
View File
@@ -30,7 +30,6 @@ const whiteList = [
const baseQuery = fetchBaseQuery({
baseUrl: BASE_URL,
prepareHeaders: (headers, { getState, endpoint }) => {
console.info("req", endpoint);
const { token } = (getState() as RootState).authData;
if (token && !whiteList.includes(endpoint)) {
headers.set(tokenHeader, token);