From df66d9678b5f0f644f8038fddd32abefa4285490 Mon Sep 17 00:00:00 2001 From: Aaron <29749331+aarnphm@users.noreply.github.com> Date: Thu, 8 Feb 2024 23:48:08 -0500 Subject: [PATCH] chore: set different trigger key Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com> --- quartz/plugins/emitters/componentResources.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quartz/plugins/emitters/componentResources.ts b/quartz/plugins/emitters/componentResources.ts index 76ef6a261..f5878c4e7 100644 --- a/quartz/plugins/emitters/componentResources.ts +++ b/quartz/plugins/emitters/componentResources.ts @@ -144,7 +144,7 @@ function addGlobalPageResources( script: ` document.addEventListener('nav', async () => { const chat = await import('https://esm.sh/cursor-chat') - chat.initCursorChat("quartz-room") + chat.initCursorChat(\`cursor-chat-room-\${window.location.host + window.location.pathname}\`, { triggerKey: '.' }) }) `, loadTime: "afterDOMReady",