fix: use hammer.donovankelly.xyz for all gateway access (HQ-21)

- Single domain for hooks + WebSocket (path-based routing)
- No need for ws.hammer or hooks.hammer subdomains
- Caddy proxies everything to gateway on this VPS
This commit is contained in:
2026-01-29 02:55:36 +00:00
parent ddaeb0c282
commit a765bf74b1
3 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
import { useState, useEffect, useRef, useCallback } from "react";
import { GatewayClient } from "../lib/gateway";
const WS_URL = import.meta.env.VITE_WS_URL || `wss://${window.location.hostname.replace("dash.", "ws.hammer.")}`;
const WS_TOKEN = import.meta.env.VITE_WS_TOKEN || "";
const WS_URL = import.meta.env.VITE_WS_URL || "wss://hammer.donovankelly.xyz";
const WS_TOKEN = import.meta.env.VITE_WS_TOKEN || import.meta.env.VITE_GATEWAY_TOKEN || "";
interface ChatMessage {
role: "user" | "assistant" | "system";