Skip to content

Commit

Permalink
fix: vite 설정 변경 (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: wukddang <[email protected]>
  • Loading branch information
wukdddang and wukdddang authored Nov 2, 2023
1 parent 543ddb6 commit 8b394e0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/apis/test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import axios from 'axios'

export const testWithBtn = async (nickname: string) => {
return axios.get('http://13.125.194.230/api/v1/users/duplicate', {
return axios.get(`http://13.125.194.230/api/v1/users/duplicate`, {
headers: {
'Referrer-Policy': 'no-referrer', // 또는 필요에 따라 다른 값
},
params: {
nickname: nickname,
nickname,
},
})
}
14 changes: 7 additions & 7 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ export default defineConfig({
changeOrigin: true,
},
},
port: 3000,
https: true,
hmr: {
host: process.env.VITE_BASE_URL,
port: 3001,
protocol: 'wss',
},
// port: 3000,
// https: true,
// hmr: {
// host: process.env.VITE_BASE_URL,
// port: 3001,
// protocol: 'wss',
// },
},
})

0 comments on commit 8b394e0

Please sign in to comment.