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

Initial implementation of go-translate #1

Merged
merged 14 commits into from Mar 22, 2019

Update brave proxy addresses to production

  • Loading branch information
yrliou committed Mar 19, 2019
commit 1cf4eaffaa65e34adea2f4ebfda9a6f5e417989b
@@ -22,15 +22,15 @@ var MSTranslateServer = "https://api.cognitive.microsofttranslator.com"
// GoogleTranslateServerProxy specifies the proxy server for requesting
// resource from google translate server, and it can be set to a mock server
// during testing.
var GoogleTranslateServerProxy = "https://translate.bravesoftware.com"
var GoogleTranslateServerProxy = "https://translate.brave.com"

const (
// GoogleTranslateServer specifies the remote google translate server.
GoogleTranslateServer = "https://translate.googleapis.com"

// GStaticServerProxy specifies the proxy server for requesting resource
// from google gstatic server.
GStaticServerProxy = "https://translate-static.bravesoftware.com"
GStaticServerProxy = "https://translate-static.brave.com"

languageEndpoint = "/languages?api-version=3.0&scope=translation"
)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.