Tim - Hello πŸ‘‹ we embed liveboards with the sdk...

Hello πŸ‘‹ we embed liveboards with the sdk and currently have to manually enable CORS settings for every preview app and its kind of a pain. Our preview app domains are in the format pr-${number}.preview.mycompany.com . I was wondering if there's a way to configure our CORS with a wildcard for the number. Based on these docs it seems like no, but maybe yall know a workaround? If so that would be amazing
Security settings
Security settings for embedding
5 Replies
utsav.kapoor
utsav.kapoorβ€’5w ago
Hi @Tim - Will fix the documentation, You can try
*.preview.mycompany.com
*.preview.mycompany.com
Valhalla
ValhallaOPβ€’5w ago
I get the following error Invalid URLs in CORS whitelisted domains: Error in url: *.preview.mycompany.com is: Invalid hostname or IP address in user input: *.preview.mycompany.com oops my asterisks made the text italic wait, I may have gotten it to work
utsav.kapoor
utsav.kapoorβ€’5w ago
lemme know if it works
Justin Mathew
Justin Mathewβ€’4w ago
@Valhalla was the issue re-solved ? if no do let us know 😁
Valhalla
ValhallaOPβ€’4w ago
Yup it’s resolved.

Did you find this page helpful?