Commit 9756d1c
fix: alias grab-url to fetch-based implementation for Cloudflare Workers
Changed vite.config.ts to alias 'grab-url' imports to lib/api/grab.ts,
which uses native fetch API instead of Node.js HTTP client. This fixes
Cloudflare Workers deployment error where grab-url module couldn't be
resolved in the Worker bundle.
Also removed grab-url from external lists since it's now aliased to
our bundled fetch implementation.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 4b13504 commit 9756d1c
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
51 | 49 | | |
52 | 50 | | |
53 | 51 | | |
| |||
0 commit comments