Skip to content

Commit 1ea9ea1

Browse files
committed
2 parents 9b6efd6 + 2cef068 commit 1ea9ea1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
[![Product Name Screen Shot][product-screenshot]](https://example.com)
5555

56-
<strong>reZonance</strong> is a <strong>Content Based Recommendation Service</strong> which suggests songs similar to the one chosen by the user. It has approximately *160,000 songs* in its database and takes about *1500ms to generate recommendations*.
56+
<strong>reZonance</strong> is a <strong>Content Based Recommendation Service</strong> which suggests songs similar to the one chosen by the user. It has approximately *160,000 songs* in its database and takes about *300ms to generate recommendations*.
5757

5858
## Following are some core concept on which this project relies on
5959

client/src/pages/Recommend.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const Recommend = (props) => {
66
const [result, setResult] = useState([]);
77

88
useEffect(() => {
9-
Axios.post('https://rezonance11.herokuapp.com/recommend', {
9+
Axios.post('https://18.141.188.196/recommend', {
1010
id: props.location.state.id,
1111
}).then((res) => {
1212
setResult(res.data);

client/src/pages/Search.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const Search = () => {
99
const [result, setResult] = useState([]);
1010
const [random, setRandom] = useState([]);
1111

12-
const publicUrl = 'https://rezonance11.herokuapp.com.herokuapp.com/';
12+
const publicUrl = 'https://18.141.188.196/';
1313

1414
const history = useHistory();
1515

@@ -26,7 +26,7 @@ const Search = () => {
2626
if (e.target.value.length >= 4 && e.target.value.length !== 0) {
2727
axios
2828
.post(
29-
'https://rezonance11.herokuapp.com/search',
29+
`${publicUrl}search`,
3030
{
3131
search_param: e.target.value,
3232
},

0 commit comments

Comments
 (0)