Revert "Use dokku url to get the URL for checking"

This reverts commit 91000237ce3b4382d2cb13cb361f6037382f384d.