Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Glimpse runs not just on localhost #120

Open
mkarlsson opened this issue Mar 12, 2016 · 3 comments
Open

Glimpse runs not just on localhost #120

mkarlsson opened this issue Mar 12, 2016 · 3 comments

Comments

@mkarlsson
Copy link

I get Glimpse UI bar at the bottom on staging and production as well. How do I control this? I just added the nuget package and app.UseGlimpse(); in Configure method and services.AddGlimpse(); in ConfigureServices.

@skorunka
Copy link

Hi, try "if (env.IsDevelopment()) { .... }" in your ConfigureServices((IServiceCollection services, IHostingEnvironment env) and Configure(IApplicationBuilder app, IHostingEnvironment env) methods.

@mkarlsson
Copy link
Author

I was under the impression it was supposed to work anyway?

@skorunka
Copy link

I don't think so. You have to control if to add Glimpe into app pipeline or not.

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

2 participants