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: {