diff options
| author | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-22 17:41:49 +0200 |
|---|---|---|
| committer | Geo Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-22 17:41:49 +0200 |
| commit | 683fdf3a142363f57639904916e0c580e20dc46f (patch) | |
| tree | 7e35fbc621e2a542aeab6c3d37fb6f001ab1901a /javascript/test-cdn.js | |
| parent | adcb57d3316443bf5be6bb86d09f6d9f73b7f002 (diff) | |
| download | linkeysearch-683fdf3a142363f57639904916e0c580e20dc46f.tar.gz linkeysearch-683fdf3a142363f57639904916e0c580e20dc46f.tar.bz2 linkeysearch-683fdf3a142363f57639904916e0c580e20dc46f.zip | |
linkeysearch: 2 step implementation dtails; shall run as google funcction
Diffstat (limited to 'javascript/test-cdn.js')
| -rw-r--r-- | javascript/test-cdn.js | 3 |
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 |
