Spaces:
Runtime error
Runtime error
Update src/addons/addons/save-to-google/userscript.js
Browse files
src/addons/addons/save-to-google/userscript.js
CHANGED
|
@@ -9,11 +9,11 @@ const getProjectThumbnail = () => new Promise(resolve => {
|
|
| 9 |
|
| 10 |
export default async ({ addon, console, msg }) => {
|
| 11 |
const CLIENT_ID = "1033286471224-n9mv8l869fqikubj2e8q92n8ige3qr6r.apps.googleusercontent.com";
|
| 12 |
-
const REDIRECT_URI = "https://soiz1-
|
| 13 |
const SCOPES = "https://www.googleapis.com/auth/drive.file";
|
| 14 |
const PROXY_URL = "https://soiz1-drive-proxy.hf.space/?file_id=";
|
| 15 |
const SHORT_URL = "https://s4.rf.gd/";
|
| 16 |
-
const SHARE_URL = "https://
|
| 17 |
|
| 18 |
let accessToken = localStorage.getItem('googleDriveAccessToken') || null;
|
| 19 |
let currentAccountEmail = localStorage.getItem('googleDriveAccountEmail') || null;
|
|
|
|
| 9 |
|
| 10 |
export default async ({ addon, console, msg }) => {
|
| 11 |
const CLIENT_ID = "1033286471224-n9mv8l869fqikubj2e8q92n8ige3qr6r.apps.googleusercontent.com";
|
| 12 |
+
const REDIRECT_URI = "https://soiz1-s4s-upload.hf.space/close2";
|
| 13 |
const SCOPES = "https://www.googleapis.com/auth/drive.file";
|
| 14 |
const PROXY_URL = "https://soiz1-drive-proxy.hf.space/?file_id=";
|
| 15 |
const SHORT_URL = "https://s4.rf.gd/";
|
| 16 |
+
const SHARE_URL = "https://scratch-school.ct.ws/upload?id=";
|
| 17 |
|
| 18 |
let accessToken = localStorage.getItem('googleDriveAccessToken') || null;
|
| 19 |
let currentAccountEmail = localStorage.getItem('googleDriveAccountEmail') || null;
|