hide netlify on github

This commit is contained in:
Sidharth Vinod
2021-09-05 17:59:39 +05:30
parent 952791cb5f
commit f9b92d6026
+1 -1
View File
@@ -134,7 +134,7 @@
let userimagesize = 1080;
let isNetlify = false;
if (browser && window.location.host.includes('mermaid.live')) {
if (browser && ['mermaid.live', 'netlify'].some((path) => window.location.host.includes(path))) {
isNetlify = true;
}
codeStore.subscribe((state: State) => {