Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Public-facing URL: needed? #52

Open
helloguille opened this issue Jan 28, 2019 · 6 comments
Open

Public-facing URL: needed? #52

helloguille opened this issue Jan 28, 2019 · 6 comments

Comments

@helloguille
Copy link

Does this work with a localhost:XX-type URL?

The example shows https://staging.example.com, which looks to me like a public URL.

It might be a good idea to clarify this in the doc. I can contribute with the doc change if that's the case.

@manniL
Copy link

manniL commented Feb 25, 2019

It is necessary except when you running your own API which has access to the "local" website (e.g. two servers that "know each other").

@ebidel
Copy link
Contributor

ebidel commented Feb 25, 2019 via email

@manniL
Copy link

manniL commented Feb 25, 2019

@ebidel I interpreted it as: "Can I test local pages that are not exposed to the WWW with lighthousebot."

@helloguille
Copy link
Author

Yes, this is what I meant!

I was under the impression that it depended on an external service, and I wanted to integrate this in my CI build, so I needed to use a private URL.

Maybe it would be nice to clarify this in the README.

@ebidel
Copy link
Contributor

ebidel commented Feb 25, 2019

For that case, I'd just run the lighthouse CLI or NPM module against your local app.

You could use ngrok to expose a local server...

@clxmstaab
Copy link

related question: in case my website is public available but behind a http-basic auth would it be possible to pass a auth/pw combination to the bot?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants