Skip to content

Commit

Permalink
fix: cors 재설정 (#82)
Browse files Browse the repository at this point in the history
* test: retest

* fix: vite 설정 (cors)

* fix: cors2
  • Loading branch information
from1to2 authored Nov 2, 2023
1 parent 03a429c commit 543ddb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/apis/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import axios from 'axios'

export const testWithBtn = async (nickname: string) => {
return axios.get('http://13.125.194.230/api/v1/users/duplicate', {
headers: {
'Referrer-Policy': 'no-referrer', // 또는 필요에 따라 다른 값
},
params: {
nickname: nickname,
},
Expand Down

0 comments on commit 543ddb6

Please sign in to comment.