From 1b2a607d9b9bc480bb02d61e29f4f75b821f0c60 Mon Sep 17 00:00:00 2001 From: Steve Bazyl Date: Mon, 25 Apr 2016 10:51:01 -0700 Subject: [PATCH] #402 - Remove errant line --- samples/cli/.env | 4 ++++ samples/web/.env | 2 ++ samples/web/views/home.erb | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 samples/cli/.env create mode 100644 samples/web/.env diff --git a/samples/cli/.env b/samples/cli/.env new file mode 100644 index 000000000..f584f8e07 --- /dev/null +++ b/samples/cli/.env @@ -0,0 +1,4 @@ +GOOGLE_API_KEY=AIzaSyC6GvjvPlEzJpTW2bW2t0MPHQTfltTosHk +GOOGLE_CLIENT_ID=479164972499-i7j6av7bp2s4on5ltb7pj2lb2iu5a8gi.apps.googleusercontent.com +GOOGLE_CLIENT_SECRET=JBotCTG5biFWGz43jdQSZaa3 +GOOGLE_APPLICATION_CREDENTIALS=~/Downloads/ruby-samples-cred.json diff --git a/samples/web/.env b/samples/web/.env new file mode 100644 index 000000000..b44442193 --- /dev/null +++ b/samples/web/.env @@ -0,0 +1,2 @@ +GOOGLE_CLIENT_ID=479164972499-snopeoggfam8j6ku1i9g2kljb3c4hov6.apps.googleusercontent.com +GOOGLE_CLIENT_SECRET=CoRocezZGyCv2Kb0uJ-js0rD diff --git a/samples/web/views/home.erb b/samples/web/views/home.erb index afd9a4e6a..6cc2ad719 100644 --- a/samples/web/views/home.erb +++ b/samples/web/views/home.erb @@ -28,7 +28,6 @@ function onSignIn(googleUser) { console.log("Log in failed"); // Handle error... }); - req.addEventListener() req.open("POST", "/signin"); req.send(formData); }