Wildcard domains (#830)

This commit is contained in:
Konsti Wohlwend
2025-08-19 22:59:21 -07:00
committed by GitHub
parent a2a3162500
commit ae620bb1bf
20 changed files with 2145 additions and 96 deletions
@@ -8,7 +8,6 @@ The following conventions MUST be followed in new code.
DON'T report code patterns outside of the examples explicitly listed below:
- Never use `void asyncFunction()` or `asyncFunction().catch(console.error)` - use `runAsynchronously(asyncFunction)` instead
- Use `parseJson`/`stringifyJson` from `stack-shared/utils/json` instead of `JSON.parse`/`JSON.stringify`
- Instead of Vercel `waitUntil`, use `runAsynchronously(promise, { promiseCallback: waitUntil })`
- Don't concatenate URLs as strings - avoid patterns like `/users/${userId}`
- Replace non-null assertions with `?? throwErr("message", { extraData })` pattern