Fix paths to creds and in README

This commit is contained in:
Justin Spahr-Summers
2024-11-20 11:30:24 +00:00
parent 73b13a044d
commit 4103932b00
2 changed files with 5 additions and 5 deletions

View File

@@ -175,7 +175,7 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
const credentialsPath = path.join(
path.dirname(new URL(import.meta.url).pathname),
"../../.gdrive-server-credentials.json",
"../../../.gdrive-server-credentials.json",
);
async function authenticateAndSaveCredentials() {
@@ -183,7 +183,7 @@ async function authenticateAndSaveCredentials() {
const auth = await authenticate({
keyfilePath: path.join(
path.dirname(new URL(import.meta.url).pathname),
"../../gcp-oauth.keys.json",
"../../../gcp-oauth.keys.json",
),
scopes: ["https://www.googleapis.com/auth/drive.readonly"],
});