Batch by commit

This commit is contained in:
Sidharth Vinod
2023-07-07 15:56:30 +05:30
parent f0bf6bf574
commit 962ff73fc3
2 changed files with 2 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ const utf8ToB64 = (str: string): string => {
return window.btoa(decodeURIComponent(encodeURIComponent(str)));
};
const batchId: string = 'mermaid-batch' + new Date().getTime();
const batchId: string = 'mermaid-batch-' + Cypress.env('CYPRESS_COMMIT') || Date.now().toString();
export const mermaidUrl = (
graphStr: string,