Revert "added allowed hosts to settings"

This reverts commit 52e97606c7acc49a88602f5a72c96017fb0ac1bc.