1
0
forked from wrenn/wrenn

Remove API key auth requirement for sandbox port proxy connections

Sandbox URLs ({port}-{sandbox_id}.{domain}) are now accessible without
authentication. The sandbox ID in the hostname is sufficient for routing.
This commit is contained in:
2026-04-11 13:59:07 +06:00
parent 7d0a21644f
commit c3c9ced9dd
3 changed files with 19 additions and 65 deletions

View File

@ -15,7 +15,7 @@ SELECT * FROM sandboxes WHERE id = $1 AND team_id = $2;
SELECT s.status, h.address AS host_address
FROM sandboxes s
JOIN hosts h ON h.id = s.host_id
WHERE s.id = $1 AND s.team_id = $2;
WHERE s.id = $1;
-- name: ListSandboxes :many
SELECT * FROM sandboxes ORDER BY created_at DESC;