Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
http
Browse files Browse the repository at this point in the history
  • Loading branch information
chooseongwoo committed Aug 27, 2024
1 parent ff4e151 commit ce51b86
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/pages/Auth/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Auth = () => {
</_.Auth_Title>
<_.Auth_Google_Button
onClick={async () => {
const data = await axios.get('https://211.112.175.88:8080/auth');
const data = await axios.get('http://211.112.175.88:8080/auth');
window.location.href = data?.data;
}}
>
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Callback/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Callback: React.FC = () => {

if (accessToken) {
axios
.post('https://211.112.175.88:8080/auth', { accessToken: accessToken })
.post('http://211.112.175.88:8080/auth', { accessToken: accessToken })
.then((response) => {
console.log(response);
const { accessToken, refreshToken } = response.data;
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Main/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const Main: React.FC = () => {

useEffect(() => {
axios
.get<AxiosDataType[]>(`https://211.112.175.88:8080/post`)
.get<AxiosDataType[]>(`http://211.112.175.88:8080/post`)
.then((response) => {
setAxiosData(response.data);
console.log(response.data);
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Result/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Result = () => {

useEffect(() => {
axios
.get<AxiosDataType[]>(`https://211.112.175.88:8080/post`)
.get<AxiosDataType[]>(`http://211.112.175.88:8080/post`)
.then((response) => {
setAxiosData(response.data);
console.log(response.data);
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Upload/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Upload: React.FC = () => {

try {
const uploadResponse = await axios.post(
`https://211.112.175.88:8080/file/upload`,
`http://211.112.175.88:8080/file/upload`,
formData
);

Expand Down

0 comments on commit ce51b86

Please sign in to comment.