'How can I open the puppeteer page that I run on the project on the server on the client computer?
I have set up a wiki.js project on the server and am writing a plugin. While this plugin is running on the server where the project is installed, it cannot be accessed from my own computer. For example, when I want to open a file, it opens on the server computer, not on my own computer. I do these operations with puppeteer and use the page.pdf feature. How can I fix this problem? I tried to access the url of the page, at least, maybe it will return a result, but when I access the window properties with node.js, the result returns blank. I tried window.location.href
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
