I tried updating the rack cors for rails but every time I try to get data from the API externally from localhost. I get a "Not Found" payload/error.
Any suggestions?
Rails Version: 7.1.3Ruby Version: 3.2
Started GET "/api/users/access_token.json" for 173.64.99.241 at 2024-02-11 18:05:06 +00002024-02-11T18:05:06.202057+00:00 app[web.7]: [dad815cd-5c45-44d6-baf1-368cb30fc3d5] Processing by Api::UsersController#show as JSON2024-02-11T18:05:06.202066+00:00 app[web.7]: [dad815cd-5c45-44d6-baf1-368cb30fc3d5] Parameters: {"access_token"=>"[FILTERED]", "user"=>{}}
The server returns "Not Found" in Heroku production.
Locally the server returns the JSON values