Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to configure the base URL of the GitHub API #52

Merged

Conversation

akoenig
Copy link
Contributor

@akoenig akoenig commented Nov 14, 2020

This PR introduces a way of configuring the base URL of the API with which the frontend should communicate. The implementation is the result of the brainstorming in upptime/upptime#54 where @AnandChowdhary and I discussed ways on how to use upptime with private repositories. One option would be to create a lightweight proxy which provides the same API surface as the original GitHub API, but makes authorized calls against the actual GitHub production API. For signalling the frontend against which API it should communicate, the introduction of a new configuration was necessary.

I tested it locally against a rudimentary proxy I just hacked together and it worked like a charm 馃檪

@pabio-escobar
Copy link
Contributor

pabio-escobar commented Nov 14, 2020

CLA Assistant Lite bot 鉁嶏笍 All contributors have signed the CLA

@akoenig
Copy link
Contributor Author

akoenig commented Nov 14, 2020

I have read the CLA Document and I hereby sign the CLA

@AnandChowdhary AnandChowdhary merged commit 4c011ce into upptime:master Nov 15, 2020
@upptime upptime locked and limited conversation to collaborators Nov 15, 2020
@pabio-escobar
Copy link
Contributor

馃帀 This PR is included in version 1.4.0 馃帀

The release is available on:

Your semantic-release bot 馃摝馃殌

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