In the future we should only allow certain websites, like poly, to have access to this API.
(By the way, I tried deploying this branch and have my local version of Poly hit the search endpoint. The Heroku app would crash after I used it for a little bit. The logs weren’t clear, but maybe too much memory was being used so Heroku shut it down? Something to investigate)
Allow any website to use the API.
In the future we should only allow certain websites, like poly, to have access to this API.
(By the way, I tried deploying this branch and have my local version of Poly hit the search endpoint. The Heroku app would crash after I used it for a little bit. The logs weren’t clear, but maybe too much memory was being used so Heroku shut it down? Something to investigate)