d2: allow ssr

Change-Id: Id629651dfdfbb4247a90a7cc6f0b4e1fcdd2371e