diff --git a/src/lib/adapters/GoogleDrive.ts b/src/lib/adapters/GoogleDrive.ts index bf882ca1b2..ed42facd78 100644 --- a/src/lib/adapters/GoogleDrive.ts +++ b/src/lib/adapters/GoogleDrive.ts @@ -69,7 +69,7 @@ export default class GoogleDriveAdapter extends CachingAdapter { if (platform === 'web') { const browser = (await import('../browser-api')).default - const origins = ['https://oauth2.googleapis.com', 'https://www.googleapis.com'] + const origins = ['https://oauth2.googleapis.com/', 'https://www.googleapis.com/'] if (!(await browser.permissions.contains({ origins }))) { throw new MissingPermissionsError() }