harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.65k stars 105 forks source link

Usage on a self-hosted server? #221

Open GalacticHypernova opened 1 month ago

GalacticHypernova commented 1 month ago

Details

From what it seems, unlighthouse is only usable in localhost, since it attempts to access localhost:5678/api/scan-meta. Is it possible to use it on an external server? For example, imagine a web app that is running on an ubuntu server. I would like to unlighthouse it, but since I already have ownership of the server I would like to get the reports from that server. Is there a way to make unlighthouse use the correct address or is it always localhost?