I have two identical sites. One is for testing purposes and the other is for production.
Both sites are successfully deployed via netlify and algolia is successfully indexed. All search bar functions work fine. However for the production site, when the actually posts themselves are clicked, algolia changes the root to a strange 0.0.7.227 url. This does not happen for the testing site. Both sites are identical in code except the algolia env variables.
I have two identical sites. One is for testing purposes and the other is for production.
Both sites are successfully deployed via netlify and algolia is successfully indexed. All search bar functions work fine. However for the production site, when the actually posts themselves are clicked, algolia changes the root to a strange 0.0.7.227 url. This does not happen for the testing site. Both sites are identical in code except the algolia env variables.
The production site and its github
The testing site with no problems and its github
Why does this problem appear on one but not the other when they are both essentially the same?
I am generating my search results URL from
src/pages/search.js