Skip to content

Commit 9cd6e40

Browse files
Allow all subdomains for Mixpanel provider (#786)
Mixpanel has regional subdomains that should be explicitly embeddable, eg https://eu.mixpanel.com and https://in.mixpanel.com I specified a subdomain wildcard to futureproof it.
1 parent 5532693 commit 9cd6e40

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

providers/mixpanel.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
endpoints:
55
- schemes:
66
- https://mixpanel.com/*
7+
- https://*.mixpanel.com/*
78
url: https://mixpanel.com/api/app/embed/oembed/
89
docs_url: https://developer.mixpanel.com/docs
910
example_urls:
1011
- https://mixpanel.com/api/app/embed/oembed?url=https%3A%2F%2Fmixpanel.com%2Fs%2F4mEW4a
12+
- https://mixpanel.com/api/app/embed/oembed?url=https%3A%2F%2Fin.mixpanel.com%2Fs%2F1nGsfj&format=json
1113
- https://mixpanel.com/api/app/embed/oembed/?url=https%3A%2F%2Fmixpanel.com%2Fproject%2F2195193%2Fview%2F139237%2Fapp%2Fdashboards%23id%3D685944%26editor-card-id%3D%2522report-link-4409611%2522%27
1214

1315
...

0 commit comments

Comments
 (0)