Liveview app reloading infinitely on heroku deployment
Solution 1:
My bad
The solution was right there but I didn't exactly know how to implement it.
The solution is adding
config :grasruts, GrasrutsWeb.Endpoint, check_origin: ["http://localhost:4000/","https://HEROKU_APP_URL/"]