testing generic deploy

This commit is contained in:
Devin Zuczek
2026-06-29 21:52:50 -04:00
parent 3affabd280
commit 69b89e2dc4
79 changed files with 399 additions and 307 deletions
+2 -3
View File
@@ -1,10 +1,9 @@
# chat
Chat worker served at `chat.rec.djdevin.net`.
Chat worker served on the `chat` subdomain.
- `GET /` — service status `{ "service": "chat", "status": "ok" }`.
- `GET /thread` — chat threads. No DB binding yet, so returns `[]` (matching the
C# `ChatController.Get`).
- `GET /thread` — chat threads. No DB binding yet, so returns `[]`.
## Development
+1 -1
View File
@@ -21,7 +21,7 @@ const app = new Hono<App>()
.get('/', (c) => c.json({ service: 'chat', status: 'ok' }))
// Chat threads. No DB binding yet — the C# `ChatController.Get` returns `[]`.
// Chat threads. No DB binding yet — returns `[]`.
.get('/thread', (c) => c.json([]))
export default app
+1 -1
View File
@@ -3,7 +3,7 @@ import { describe, expect, it } from 'vitest'
import '../../chat.app'
const ORIGIN = 'https://chat.rec.djdevin.net'
const ORIGIN = 'https://example.com'
describe('chat endpoints', () => {
it('GET / reports service status', async () => {
+1 -1
View File
@@ -6,7 +6,7 @@
"compatibility_flags": ["nodejs_compat"],
"routes": [
{
"pattern": "chat.rec.djdevin.net",
"pattern": "chat.rec.example.com",
"custom_domain": true
}
],