mirror of
https://github.com/drawdb-io/drawdb.git
synced 2026-02-12 02:00:40 +08:00
Fix wrong url being generated for shared diagrams
This commit is contained in:
@@ -4,7 +4,7 @@ import { templateSeeds } from "./seeds";
|
||||
export const db = new Dexie("drawDB");
|
||||
|
||||
db.version(6).stores({
|
||||
diagrams: "++id, lastModified, &loadedFromGistId",
|
||||
diagrams: "++id, lastModified, loadedFromGistId",
|
||||
templates: "++id, custom",
|
||||
});
|
||||
|
||||
|
||||
5
src/data/octokit.js
Normal file
5
src/data/octokit.js
Normal file
@@ -0,0 +1,5 @@
|
||||
import { Octokit } from "octokit";
|
||||
|
||||
export const octokit = new Octokit({
|
||||
auth: import.meta.env.VITE_GITHUB_ACCESS_TOKEN,
|
||||
});
|
||||
Reference in New Issue
Block a user