Added rest server to domain whitelist.