Commit b7a7cd2
committed
fix: enable workers.dev subdomain after deployment
- Add enableSubdomain() method to CloudflareDeployer
- Call enableSubdomain() after worker deployment
- Use POST method to enable subdomain (not PUT)
- Increase retry404 from 0 to 5 for propagation delays
- Requires Workers Scripts:Edit permission on API token
This fixes the issue where deployed workers weren't accessible
on workers.dev due to subdomain not being enabled.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Lars Trieloff <lars@trieloff.net>1 parent 32e8a43 commit b7a7cd2
1 file changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
123 | 141 | | |
124 | 142 | | |
125 | 143 | | |
| |||
169 | 187 | | |
170 | 188 | | |
171 | 189 | | |
172 | | - | |
| 190 | + | |
173 | 191 | | |
174 | 192 | | |
175 | 193 | | |
| |||
0 commit comments