Fix for link to view
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -53,7 +53,7 @@ export const onDownloadSVG = event => {
|
|||||||
let url = '/view';
|
let url = '/view';
|
||||||
let iUrl;
|
let iUrl;
|
||||||
const unsubscribe = codeStore.subscribe( state => {
|
const unsubscribe = codeStore.subscribe( state => {
|
||||||
url = '/#/view/' + Base64.encode(JSON.stringify(state));
|
url = '/mermaid-live-editor/#/view/' + Base64.encode(JSON.stringify(state));
|
||||||
iUrl = `https://mermaid.ink/img/${Base64.encode(JSON.stringify(state))}`;
|
iUrl = `https://mermaid.ink/img/${Base64.encode(JSON.stringify(state))}`;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user