fix: webhook message references dash.donovankelly.xyz (HQ-20)
- Updated webhook notification message to use dash domain - Caddy now proxies /hooks/* to gateway, blocks all other paths - Control UI no longer exposed publicly
This commit is contained in:
@@ -19,7 +19,7 @@ async function notifyTaskActivated(task: { id: string; title: string; descriptio
|
||||
return;
|
||||
}
|
||||
try {
|
||||
const message = `🔨 Task activated in Hammer Queue:\n\nTitle: ${task.title}\nPriority: ${task.priority}\nSource: ${task.source}\nID: ${task.id}\n${task.description ? `\nDescription: ${task.description}` : ""}\n\nStart working on this task. Post progress notes to the queue API as you work:\ncurl -s -H "Authorization: Bearer $HAMMER_QUEUE_API_KEY" -H "Content-Type: application/json" -X POST "https://queue.donovankelly.xyz/api/tasks/${task.id}/notes" -d '{"note":"your update here"}'`;
|
||||
const message = `🔨 Task activated in Hammer Dashboard:\n\nTitle: ${task.title}\nPriority: ${task.priority}\nSource: ${task.source}\nID: ${task.id}\n${task.description ? `\nDescription: ${task.description}` : ""}\n\nStart working on this task. Post progress notes to the dashboard API as you work:\ncurl -s -H "Authorization: Bearer $HAMMER_QUEUE_API_KEY" -H "Content-Type: application/json" -X POST "https://dash.donovankelly.xyz/api/tasks/${task.id}/notes" -d '{"note":"your update here"}'`;
|
||||
|
||||
await fetch(CLAWDBOT_HOOK_URL, {
|
||||
method: "POST",
|
||||
|
||||
Reference in New Issue
Block a user