Cannot use subdomains in dev environment

Hi! We are using pdfjs express viewer on zyx.test and it works just fine but it doesn’t work on xyz.zyx.test even though it says when creating the viewer key that it will work on any subdomain. It works fine in production. Are there any restrictions on .test domains?

I’m testing window.PDF_VIEWER_LICENSE_KEY in the console and on the page without subdomain it returns a key, and on the one with subdomain it returns undefined.

/ J

Hello jan.lindgren,

Thank you for reaching out.
Since its a non-standard domain, we suggest also registering the subdomain in the domain settings.

Best regards,
Tyler