mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 12:01:23 +01:00
localization
This commit is contained in:
parent
6453a69250
commit
754e132841
3 changed files with 3 additions and 3 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ window.Cloud = (function () {
|
|||
|
||||
const DBP = {
|
||||
name: "dropbox",
|
||||
clientId: "pdr9ae64ip0qno4",
|
||||
clientId: "61ndwmjyxi8bkrc",
|
||||
authWindow: undefined,
|
||||
token: null, // Access token
|
||||
api: null,
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue