## Is your feature request related to a problem?

*Please describe.*

A user has thousands of URLs matching `*.blahblah.com` (for example), and are only able to add a few dozen by hand. It would be nice for them if they could wildcard those domains or to not have to whitelist domains at all. Their primary concern was that session recordings for these domains would not be retrievable unless they were added to the permitted URLs list (and also session recordings before adding it to the domain would be irretrievable) 

<img width="1275" alt="Screen Shot 2021-10-19 at 9 23 48 AM" src="https://user-images.githubusercontent.com/25164963/137918568-ecc72abd-be6b-410c-84d9-63870b19d2f8.png">

## Describe the solution you'd like

A way to make it easier to apply similar domains together

## Describe alternatives you've considered

## Additional context



#### *Thank you* for your feature request – we love each and every one!

posthog/api/decide.py
import secrets
from typing import Any, Dict, Optional, Tuple
from urllib.parse import urlparse
from django.conf import settings
from django.http import HttpRequest, JsonResponse
from django.views.decorators.csrf import csrf_exempt
from rest_framework import status
from sentry_sdk import capture_exception
from statshog.defaults.django import statsd
from posthog.api.utils import get_token
from posthog.exceptions import RequestParsingError, generate_exception_response
from posthog.models import Team, User
from posthog.models.feature_flag import get_overridden_feature_flags
from posthog.utils import cors_response, load_data_from_request
from .utils import get_project_id
def on_permitted_domain(team: Team, request: HttpRequest) -> bool:
    permitted_domains = ["127.0.0.1", "localhost"]
    for url in team.app_urls:
        hostname = parse_domain(url)
        if hostname:
            permitted_domains.append(hostname)
    return (parse_domain(request.headers.get("Origin")) in permitted_domains) or (
        parse_domain(request.headers.get("Referer")) in permitted_domains
    )
def decide_editor_params(request: HttpRequest) -> Tuple[Dict[str, Any], bool]: