Added localhost as trusted domain