Skip to content

Commit

Permalink
Encode URI
Browse files Browse the repository at this point in the history
  • Loading branch information
kaja-nav committed Nov 28, 2023
1 parent b82b4cf commit 831cad0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/api/axios/axios.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const get = <ResponseData>(
options?: AxiosOptions
): Promise<ResponseData> => {
return axios
.get(url, {
.get(encodeURI(url), {
headers: defaultRequestHeaders(options),
responseType: options?.responseType,
withCredentials: true,
Expand Down

0 comments on commit 831cad0

Please sign in to comment.