Closed Dr4gon closed 1 year ago
@echo75 In your ReviewModal.vue I found this:
ReviewModal.vue
async handleReview() { console.log('review submitted') await axios.post('http://localhost:3000/reviews', { imdbID: this.movieInfo.imdbID, text: this.text, rating: this.rating }) }
I would move this to .env since it's environment dependant.
hardcoded URL changed to .env based URL
@echo75 In your
ReviewModal.vue
I found this:I would move this to .env since it's environment dependant.