Spaces:
Sleeping
Sleeping
Add real Google API credentials for client-side Drive integration
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ function onAuthApiLoad() {
|
|
| 202 |
|
| 203 |
// Initialize OAuth2
|
| 204 |
gapi.auth2.init({
|
| 205 |
-
client_id: '
|
| 206 |
});
|
| 207 |
}
|
| 208 |
|
|
@@ -226,7 +226,7 @@ function openDrivePicker() {
|
|
| 226 |
const picker = new google.picker.PickerBuilder()
|
| 227 |
.addView(google.picker.ViewId.DOCS_VIDEOS)
|
| 228 |
.setOAuthToken(oauthToken)
|
| 229 |
-
.setDeveloperKey('
|
| 230 |
.setCallback(pickerCallback)
|
| 231 |
.build();
|
| 232 |
picker.setVisible(true);
|
|
|
|
| 202 |
|
| 203 |
// Initialize OAuth2
|
| 204 |
gapi.auth2.init({
|
| 205 |
+
client_id: '178332609596-f0fnduvmrk0bfiojmrltb4or7msqtcoc.apps.googleusercontent.com'
|
| 206 |
});
|
| 207 |
}
|
| 208 |
|
|
|
|
| 226 |
const picker = new google.picker.PickerBuilder()
|
| 227 |
.addView(google.picker.ViewId.DOCS_VIDEOS)
|
| 228 |
.setOAuthToken(oauthToken)
|
| 229 |
+
.setDeveloperKey('AIzaSyAOYIFpJLIFUSmNGuj1-LdtIG6X2UWJY-I')
|
| 230 |
.setCallback(pickerCallback)
|
| 231 |
.build();
|
| 232 |
picker.setVisible(true);
|