chore: set different trigger key

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron 2024-02-08 23:48:08 -05:00
parent a72aeae429
commit df66d9678b
No known key found for this signature in database
GPG Key ID: 3D7C9C5454757D2B

View File

@ -144,7 +144,7 @@ function addGlobalPageResources(
script: ` script: `
document.addEventListener('nav', async () => { document.addEventListener('nav', async () => {
const chat = await import('https://esm.sh/cursor-chat') 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", loadTime: "afterDOMReady",