From 754e132841b1c8eb2901835c0b8b8442a096b41b Mon Sep 17 00:00:00 2001 From: mosuzi Date: Tue, 10 Jan 2023 09:51:43 +0800 Subject: [PATCH] localization --- dropbox.html | 2 +- modules/io/cloud.js | 2 +- modules/ui/notes-editor.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dropbox.html b/dropbox.html index cd1921da..7af1a778 100644 --- a/dropbox.html +++ b/dropbox.html @@ -10,7 +10,7 @@ // open this page in a new window without query parameter to start auth // setDropBoxToken(token) will be called on the opener window const REDIRECT_URI = window.location.origin + window.location.pathname; - const auth = new Dropbox.DropboxAuth({clientId: "pdr9ae64ip0qno4"}); + const auth = new Dropbox.DropboxAuth({clientId: "61ndwmjyxi8bkrc"}); const params = new URLSearchParams(window.location.search); const code = params.get("code"); diff --git a/modules/io/cloud.js b/modules/io/cloud.js index 01338c0b..21f4f3ec 100644 --- a/modules/io/cloud.js +++ b/modules/io/cloud.js @@ -26,7 +26,7 @@ window.Cloud = (function () { const DBP = { name: "dropbox", - clientId: "pdr9ae64ip0qno4", + clientId: "61ndwmjyxi8bkrc", authWindow: undefined, token: null, // Access token api: null, diff --git a/modules/ui/notes-editor.js b/modules/ui/notes-editor.js index 4362fb25..95499433 100644 --- a/modules/ui/notes-editor.js +++ b/modules/ui/notes-editor.js @@ -67,7 +67,7 @@ function editNotes(id, name) { async function initEditor() { if (!window.tinymce) { - const url = "https://cdn.tiny.cloud/1/4i6a79ymt2y0cagke174jp3meoi28vyecrch12e5puyw3p9a/tinymce/5/tinymce.min.js"; + const url = "https://cdn.tiny.cloud/1/0jymwxq81rqy6je7xkr8eqviynn0hknty661obyitcu6lmrj/tinymce/6/tinymce.min.js"; try { await import(url); } catch (error) {