Skip to content

Commit

Permalink
Merge pull request #60 from GriGni/Dev
Browse files Browse the repository at this point in the history
[Client].changed ip
  • Loading branch information
GriGni authored Nov 17, 2020
2 parents 68da381 + 86f68c1 commit c3a36f6
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 18 deletions.
8 changes: 4 additions & 4 deletions my-app/src/components/Mypage/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ import React from "react";

class Footer extends React.Component {
constructor(props) {
super(props)
super(props);
this.state = {

}
};
}

render() {
return (
<footer className="mypage_deleteinfo">
<button id="delete_myinfo">계정삭제</button>
</footer>
)
);
}
}

export default Footer
export default Footer;
8 changes: 4 additions & 4 deletions my-app/src/components/Mypage/MyToGoList.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import React from "react";

class MyToGoList extends React.Component {
constructor(props) {
super(props)
super(props);
this.state = {

}
};
}

render() {
Expand All @@ -20,8 +20,8 @@ class MyToGoList extends React.Component {
</div>
</div>
</section>
)
);
}
}

export default MyToGoList
export default MyToGoList;
8 changes: 4 additions & 4 deletions my-app/src/components/Mypage/UserInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import React from "react";

class UserInfo extends React.Component {
constructor(props) {
super(props)
super(props);
this.state = {

}
};
}

render() {
Expand Down Expand Up @@ -45,8 +45,8 @@ class UserInfo extends React.Component {
</div>
</div>
</div>
)
);
}
}

export default UserInfo
export default UserInfo;
3 changes: 1 addition & 2 deletions my-app/src/routes/Mainpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ import './Mainpage.css';
import axios from "axios"
import { UNSPLASH_API_KEY } from "../config/config";
import Nav from '../components/main_page/Nav';
import "../Animation";
// import "../Animation";
import Section0 from '../components/main_page/Section0';
import Section1 from '../components/main_page/Section1';
import Section2 from '../components/main_page/Section2';
import Section3 from '../components/main_page/Section3';
import Footer from '../components/main_page/Footer';
import { fakeDate } from '../fakeData';


class Mainpage extends React.Component{
constructor(props){
super(props);
Expand Down
2 changes: 1 addition & 1 deletion my-app/src/routes/Mypage.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class Mypage extends React.Component{
console.log("didmount중입니다")
axios({
method: 'get',
url: 'http://13.209.21.127:3001/user/info',
url: 'http://13.209.99.91:3001/user/info',
}
)
.then((res) => {
Expand Down
4 changes: 2 additions & 2 deletions my-app/src/routes/Signin.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Signin extends React.Component{
})
axios({
method: 'post',
url: 'http://13.209.21.127:3001/user/signin',
url: 'http://13.209.99.91:3001/user/signin',
data: {
googleId : id,
email: email,
Expand Down Expand Up @@ -114,7 +114,7 @@ class Signin extends React.Component{

axios({
method: 'post',
url: 'http://13.209.21.127:3001/user/signin',
url: 'http://13.209.99.91:3001/user/signin',
data: {
email,
password
Expand Down
2 changes: 1 addition & 1 deletion my-app/src/routes/Signup.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class Signup extends React.Component {

{
axios
.post("http://13.209.21.127:3001/user/signup", {
.post("http://13.209.99.91:3001/user/signup", {
email: email,
password: password,
passwordCheck: passwordCheck,
Expand Down

0 comments on commit c3a36f6

Please sign in to comment.