Skip to content

Commit

Permalink
Also disable Instagram/Google Drive on the homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Dec 17, 2024
1 parent 8c11767 commit df4c516
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Link from '@docusaurus/Link';
import Dashboard from '@uppy/react/lib/Dashboard';
import Uppy from '@uppy/core';
import Webcam from '@uppy/webcam';
import GoogleDrive from '@uppy/google-drive';
import Instagram from '@uppy/instagram';
// import GoogleDrive from '@uppy/google-drive';
// import Instagram from '@uppy/instagram';
import Dropbox from '@uppy/dropbox';
import OneDrive from '@uppy/onedrive';
import Unsplash from '@uppy/unsplash';
Expand Down Expand Up @@ -223,15 +223,15 @@ export default function Home(): JSX.Element {
.use(Audio)
.use(ImageEditor, {})
.use(Tus, { endpoint })
.use(GoogleDrive, {
companionUrl,
companionKeysParams: {
key: 'unused-key',
credentialsName: 'unused-credentials',
},
})
// .use(GoogleDrive, {
// companionUrl,
// companionKeysParams: {
// key: 'unused-key',
// credentialsName: 'unused-credentials',
// },
// })
.use(Dropbox, { companionUrl })
.use(Instagram, { companionUrl })
// .use(Instagram, { companionUrl })
.use(Url, { companionUrl })
.use(OneDrive, { companionUrl })
.use(Unsplash, { companionUrl })
Expand All @@ -246,9 +246,9 @@ export default function Home(): JSX.Element {
height={400}
plugins={[
'Webcam',
'GoogleDrive',
// 'GoogleDrive',
'Dropbox',
'Instagram',
// 'Instagram',
'Url',
'OneDrive',
'Unsplash',
Expand Down

0 comments on commit df4c516

Please sign in to comment.