using assets subdomain for pdf