Skip to content

Commit a25ab06

Browse files
Revert "updated FQDN's to googleapis.com with a trailing dot (#2214)" (#2283)
This reverts commit 13d4ed5.
1 parent 74cc09f commit a25ab06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/google-cloud-translate/src/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function Translate(options) {
6262
return new Translate(options);
6363
}
6464

65-
var baseUrl = 'https://translation.googleapis.com./language/translate/v2';
65+
var baseUrl = 'https://translation.googleapis.com/language/translate/v2';
6666

6767
if (process.env.GOOGLE_CLOUD_TRANSLATE_ENDPOINT) {
6868
baseUrl = process.env.GOOGLE_CLOUD_TRANSLATE_ENDPOINT

packages/google-cloud-translate/test/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe('Translate', function() {
9494
assert(translate instanceof FakeService);
9595

9696
var calledWith = translate.calledWith_[0];
97-
var baseUrl = 'https://translation.googleapis.com./language/translate/v2';
97+
var baseUrl = 'https://translation.googleapis.com/language/translate/v2';
9898

9999
assert.strictEqual(calledWith.baseUrl, baseUrl);
100100
assert.deepEqual(calledWith.scopes, [

0 commit comments

Comments
 (0)