Skip to content

Commit

Permalink
Remove with-credentials from Axios (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulzakin authored Oct 18, 2024
1 parent 1ac5320 commit cf2c4d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/helpers/axios.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import axios from 'axios'

export const ax = () => {
const client = axios.create({
withCredentials: true,
}) as typeof axios
const client = axios.create({}) as typeof axios

client.interceptors.request.use(
(request) => {
Expand Down

0 comments on commit cf2c4d3

Please sign in to comment.