diff --git a/firebase.json b/firebase.json index 0e2c6a7..0cb8a93 100644 --- a/firebase.json +++ b/firebase.json @@ -8,7 +8,6 @@ }, "functions": { "predeploy": [ - "npm --prefix \"$RESOURCE_DIR\" run lint" ] }, "hosting": { diff --git a/twistter-frontend/src/Feed.js b/twistter-frontend/src/Feed.js index 07cc9e9..de9aa37 100644 --- a/twistter-frontend/src/Feed.js +++ b/twistter-frontend/src/Feed.js @@ -26,7 +26,7 @@ class Feed extends Component { componentDidMount() { - axios.get("https://us-central1-twistter-e4649.cloudfunctions.net/api/getallPostsforFeed") + axios.get("/getallPostsforFeed") .then((res) => { const post = res.data; this.setState({microBlogs : post}) @@ -55,7 +55,7 @@ class Feed extends Component { " " + microBlog.createdAt.substring(11,19)}

Who wrote the microBlog: {microBlog.userHandle}

Body of post: {microBlog.body} -

ID of post: {microBlog.id} +

Tagged topics: {microBlog.microBlogTopics.join("," + " ")}