File refactoring
This commit is contained in:
parent
e23cc424f8
commit
6bca12c934
5 changed files with 142 additions and 72 deletions
|
@ -2,8 +2,8 @@ export const SVG_MIME = "image/svg+xml";
|
|||
export const JSON_MIME = "application/json";
|
||||
export const DATA_PATH = "/data/";
|
||||
export const ASSETS_PATH = "assets/";
|
||||
export const STORAGE_PATH = DATA_PATH + "storage/petal/siyuan-jsdraw-plugin";
|
||||
export const TOOLBAR_PATH = STORAGE_PATH + "/toolbar.json";
|
||||
export const CONFIG_PATH = STORAGE_PATH + "/conf.json";
|
||||
export const STORAGE_PATH = "/data/storage/petal/siyuan-jsdraw-plugin/";
|
||||
export const TOOLBAR_FILENAME = "toolbar.json";
|
||||
export const CONFIG_FILENAME = "conf.json";
|
||||
export const EMBED_PATH = "/plugins/siyuan-jsdraw-plugin/webapp/?path=";
|
||||
export const DUMMY_HOST = "https://dummy.host/";
|
Loading…
Add table
Add a link
Reference in a new issue