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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config option for webcompat reporter API endpoint #6550

Merged
merged 1 commit into from
Nov 27, 2019

Conversation

antonok-edm
Copy link
Collaborator

Required for brave/brave-core#3420

@antonok-edm antonok-edm requested a review from bridiver October 18, 2019 18:41
@antonok-edm antonok-edm self-assigned this Oct 18, 2019
@antonok-edm antonok-edm force-pushed the webcompatreporter-config branch from f8f4038 to 18df780 Compare October 18, 2019 19:01
@antonok-edm antonok-edm force-pushed the webcompatreporter-config branch from 18df780 to 5cea144 Compare October 31, 2019 23:49
@antonok-edm antonok-edm force-pushed the webcompatreporter-config branch from 5cea144 to 0268a0b Compare November 12, 2019 22:02
@antonok-edm antonok-edm force-pushed the webcompatreporter-config branch from 0268a0b to 2c9c40e Compare November 23, 2019 10:35
@@ -58,6 +58,7 @@ const Config = function () {
this.braveServicesKey = getNPMConfig(['brave_services_key']) || ''
this.infuraProjectId = getNPMConfig(['brave_infura_project_id']) || ''
this.safeBrowsingApiEndpoint = getNPMConfig(['safe_browsing_api_endpoint']) || 'safebrowsing.brave.com'
this.webcompatReportApiEndpoint = getNPMConfig(['webcompat_report_api_endpoint']) || 'https://webcompat.brave.com/1/webcompat'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we really should be moving these default values into gn because webcompat_report_api_endpoint = "" would crash

@antonok-edm antonok-edm merged commit 29ba7b8 into master Nov 27, 2019
@antonok-edm antonok-edm deleted the webcompatreporter-config branch November 27, 2019 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants