summaryrefslogtreecommitdiff
path: root/javascript/test-cdn.js
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/test-cdn.js')
-rw-r--r--javascript/test-cdn.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/javascript/test-cdn.js b/javascript/test-cdn.js
index b72fcee..3251eca 100644
--- a/javascript/test-cdn.js
+++ b/javascript/test-cdn.js
@@ -5,7 +5,7 @@ const {Storage} = require('@google-cloud/storage');
// specifying the private key file. All clients in google-cloud-node have this
// helper, see https://github.com/GoogleCloudPlatform/google-cloud-node/blob/master/docs/authentication.md
const projectId = 'pythia-251711';
-const keyFilename = '/home/geo/pythia-api/auth/pythia-251711-047e3d5e6608.json';
+const keyFilename = '../auth/pythia-251711-047e3d5e6608.json';
const storage = new Storage({projectId, keyFilename});
// Makes an authenticated API request.
@@ -21,4 +21,5 @@ async function listBuckets() {
console.error('ERROR:', err);
}
}
+
listBuckets(); \ No newline at end of file