File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const Recommend = (props) => {
6
6
const [ result , setResult ] = useState ( [ ] ) ;
7
7
8
8
useEffect ( ( ) => {
9
- Axios . post ( 'https://rezonance11.herokuapp.com /recommend' , {
9
+ Axios . post ( 'https://18.141.188.196 /recommend' , {
10
10
id : props . location . state . id ,
11
11
} ) . then ( ( res ) => {
12
12
setResult ( res . data ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Search = () => {
9
9
const [ result , setResult ] = useState ( [ ] ) ;
10
10
const [ random , setRandom ] = useState ( [ ] ) ;
11
11
12
- const publicUrl = 'https://rezonance11.herokuapp.com.herokuapp.com /' ;
12
+ const publicUrl = 'https://18.141.188.196 /' ;
13
13
14
14
const history = useHistory ( ) ;
15
15
@@ -26,7 +26,7 @@ const Search = () => {
26
26
if ( e . target . value . length >= 4 && e . target . value . length !== 0 ) {
27
27
axios
28
28
. post (
29
- 'https://rezonance11.herokuapp.com/ search' ,
29
+ ` ${ publicUrl } search` ,
30
30
{
31
31
search_param : e . target . value ,
32
32
} ,
You can’t perform that action at this time.
0 commit comments