Commit 5f7a382
Fix worker.ts to use serverBundleCachePath instead of deprecated bundlePath
The worker.ts file was still using the old bundlePath property name in two places:
1. When destructuring config from getConfig()
2. When constructing the upload destination path
This was a critical runtime bug - when users only set serverBundleCachePath
(the new property name), the code would receive undefined for bundlePath,
breaking file upload functionality.
Changes:
- Line 121: Updated destructuring to use serverBundleCachePath
- Line 154: Updated path.join call to use serverBundleCachePath
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 62dcc72 commit 5f7a382
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
0 commit comments