mirror of
https://github.com/cdr/code-server.git
synced 2026-04-06 05:49:25 +02:00
- Add isTrustedOrigin() helper that matches exact strings, '*', or regex literals in the form /pattern/flags (e.g. /^.*\.example\.com$/i) - Use isTrustedOrigin in authenticateOrigin() for --trusted-origins - Add unit tests for isTrustedOrigin and for regex/wildcard in origin auth Made-with: Cursor |
||
|---|---|---|
| .. | ||
| browser | ||
| common | ||
| node | ||