Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use worker name as a script ID when generating a preview session (…
…#1192) When generating a preview session on the edge with `wrangler dev`, for a zoned worker we were using a random id as the script ID. This would make the backend not associate the dev session with any resources that were otherwise assigned to the script (specifically for secrets, but other stuff as well) The fix is simply to use the worker name (when available) as the script ID. Fixes #1003 Fixes #1172
- Loading branch information