From d06748e05f2a64aece9c033f99a079d88ee16bab Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Tue, 9 May 2017 11:25:42 -0400 Subject: [PATCH] Revert "updated FQDN's to googleapis.com with a trailing dot (#2214)" (#2283) This reverts commit 13d4ed52402bfb4394aea505b4bab8e6caace989. --- src/index.js | 2 +- system-test/speech.js | 2 +- test/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index d3026752..898a0e8a 100644 --- a/src/index.js +++ b/src/index.js @@ -71,7 +71,7 @@ function Speech(options) { }; var config = { - baseUrl: 'speech.googleapis.com.', + baseUrl: 'speech.googleapis.com', projectIdRequired: false, service: 'speech', protoServices: { diff --git a/system-test/speech.js b/system-test/speech.js index b2291253..f5856aa6 100644 --- a/system-test/speech.js +++ b/system-test/speech.js @@ -39,7 +39,7 @@ FILENAMES.forEach(function(filename) { name: name, path: path.join(__dirname, 'data/' + name), gcsUri: 'gs://' + BUCKET_NAME + '/' + name, - httpUri: 'https://storage.googleapis.com./' + BUCKET_NAME + '/' + name + httpUri: 'https://storage.googleapis.com/' + BUCKET_NAME + '/' + name }; }); diff --git a/test/index.js b/test/index.js index 70a299f2..f89c5cd4 100644 --- a/test/index.js +++ b/test/index.js @@ -156,7 +156,7 @@ describe('Speech', function() { var calledWith = speech.calledWith_[0]; assert.deepEqual(calledWith, { - baseUrl: 'speech.googleapis.com.', + baseUrl: 'speech.googleapis.com', projectIdRequired: false, service: 'speech', protoServices: {