We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f09cb5 commit 9c85c22Copy full SHA for 9c85c22
1 file changed
server.ts
@@ -84,6 +84,7 @@ extendEnvironmentWithAppConfig(environment, appConfig);
84
const _window = domino.createWindow(indexHtml);
85
86
// Assign the DOM window and document objects to the global object
87
+(_window as any).screen = {deviceXDPI: 0, logicalXDPI: 0};
88
(global as any).window = _window;
89
(global as any).document = _window.document;
90
(global as any).navigator = _window.navigator;
0 commit comments