We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 475d8ba commit b17990eCopy full SHA for b17990e
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