소스 검색

examples: update configs for Companion 2.0+

Renée Kooi 4 년 전
부모
커밋
f6b9106dbe
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      examples/aws-companion/server.js
  2. 1 1
      examples/uppy-with-companion/server/index.js

+ 1 - 1
examples/aws-companion/server.js

@@ -18,7 +18,7 @@ app.use(require('express-session')({
 
 const options = {
   providerOptions: {
-    google: {
+    drive: {
       key: process.env.COMPANION_GOOGLE_KEY,
       secret: process.env.COMPANION_GOOGLE_SECRET
     },

+ 1 - 1
examples/uppy-with-companion/server/index.js

@@ -34,7 +34,7 @@ app.get('/', (req, res) => {
 // initialize uppy
 const uppyOptions = {
   providerOptions: {
-    google: {
+    drive: {
       key: 'your google key',
       secret: 'your google secret'
     },