-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix viewing HTML contents in the terminal for GitHub Enterprise users #92
Conversation
Current coverage is 95.10% (diff: 100%)@@ master #92 diff @@
==========================================
Files 34 34
Lines 2094 2083 -11
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
- Hits 1993 1981 -12
- Misses 101 102 +1
Partials 0 0
|
Hi @dongweiming, thanks for the PR! To confirm, this is to fix the |
@donnemartin yes. but this also fix |
Hi @dongweiming, I took a closer look at the PR, thanks again for submitting it. With the proposed changes on my test GitHub Enterprise instance, the
I think we'd need to conditionally add self.gh_url, maybe something like this:
Also, it seems we'll need to send auth info in
Are you interested in updating the PR when you get a chance? Thanks! |
@donnemartin i has fix the view url. In my local env, the auth info is right, like this:
the |
Clean up base_url class member and property. Fix urls sent to webbrowser and web_viewer. Update unit tests.
* dongweiming-url: Followup changes in #92 Fix viewing HTML contents in the terminal for Enterprise
@dongweiming, this was merged with 5cf1f93. Thank you! |
make gitHub enterprise users can use it correctly