remove hardcoded domain from if statements
Merge pull request #2 from SkynetPlatform/fix/domains

remove hardcoded domain from if statements