Commit Graph
7 Commits
Author SHA1 Message Date
kcar 31ebb5e5f2 ci: add tlsync deploy workflow
tlsync-ci-deploy / build-deploy (push) Has been cancelled
2026-05-27 23:24:29 +01:00
kcarandClaude Sonnet 4.6 e0f2207848 security: restrict CORS, add auth token, rate limiting, health endpoint, graceful shutdown
- Replace wildcard CORS with configurable TLSYNC_ALLOWED_ORIGINS env var
- Add TLSYNC_SECRET token validation on /connect/:roomId (401 if missing/wrong)
- Add in-memory rate limiter: max 20 connections per IP per 60s
- Add GET /health endpoint returning status + uptime
- Add SIGTERM/SIGINT graceful shutdown handlers
- Fix hardcoded Access-Control-Allow-Origin: * on uploads and unfurl routes
- Fix rooms.ts: import TLSchema/TLStore/TLStoreOptions from @tldraw/tlschema not tldraw
- Add @tldraw/tlschema 3.6.1 as direct dependency (was transitive, causing ENOENT crash)
- Add named tlsync-node-modules volume to docker-compose to prevent host mount shadowing image packages

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
2026-05-21 17:06:18 +00:00
kcar 68bafbebef chore: ignore core binary file 2026-05-13 22:44:12 +00:00
kcar 469d12d8a2 Delete .env 2026-02-23 21:00:24 +00:00
kcar 5804f644ea latest 2025-11-14 14:46:55 +00:00
kcar 47d47d44c7 update 2025-08-23 14:06:40 +00:00
kcar c3d80f0c61 Initial commit 2025-08-23 13:04:42 +00:00