File tree Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Expand file tree Collapse file tree 4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 8080 "devDependencies" : {
8181 "gh-pages" : " ^3.1.0"
8282 }
83- }
83+
84+ }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ class Medium extends React.Component {
1919 }
2020 } ;
2121 componentDidMount ( ) {
22- this . fetchBlogs ( ) ;
22+ // this.fetchBlogs();
2323 }
2424
2525 render ( ) {
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ class Twitter extends React.Component {
3333 axios
3434 . get ( base + "/getLikedTweets" )
3535 . then ( ( Response ) => {
36+ console . log ( Response ) ;
3637 this . likedTweets = Response . data ;
3738 this . loadLikedTweets ( ) ;
3839 } )
@@ -64,6 +65,7 @@ class Twitter extends React.Component {
6465 } ;
6566
6667 render ( ) {
68+
6769 return (
6870 < React . Fragment >
6971 < Row className = "twitter-container" >
Original file line number Diff line number Diff line change 1- const proxy = require ( 'http-proxy-middleware' )
1+ const { createProxyMiddleware } = require ( 'http-proxy-middleware' )
22// this proxy code allows the use of .netlify/function in both development and production
33module . exports = function ( app ) {
44 app . use (
5- proxy (
5+ createProxyMiddleware (
66 "/.netlify/functions" , {
77 target : "http://localhost:9000" ,
88 pathRewrite : {
9- " ^/\\.netlify/functions" : ""
9+ ' ^/\\.netlify/functions' : ''
1010 }
1111 }
1212 )
You can’t perform that action at this time.
0 commit comments