localization

This commit is contained in:
mosuzi 2023-01-10 09:51:43 +08:00
parent 6453a69250
commit 754e132841
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
// open this page in a new window without query parameter to start auth // open this page in a new window without query parameter to start auth
// setDropBoxToken(token) will be called on the opener window // setDropBoxToken(token) will be called on the opener window
const REDIRECT_URI = window.location.origin + window.location.pathname; 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 params = new URLSearchParams(window.location.search);
const code = params.get("code"); const code = params.get("code");

View file

@ -26,7 +26,7 @@ window.Cloud = (function () {
const DBP = { const DBP = {
name: "dropbox", name: "dropbox",
clientId: "pdr9ae64ip0qno4", clientId: "61ndwmjyxi8bkrc",
authWindow: undefined, authWindow: undefined,
token: null, // Access token token: null, // Access token
api: null, api: null,

View file

@ -67,7 +67,7 @@ function editNotes(id, name) {
async function initEditor() { async function initEditor() {
if (!window.tinymce) { 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 { try {
await import(url); await import(url);
} catch (error) { } catch (error) {