Fix #43 and only declare ALLOWED_HOSTS once