This repository was archived by the owner on Oct 14, 2026. It is now read-only.
Repository navigation
Commit 0f3380e
fix(tokowaka-client): keep edgeOptimizeEnabled as raw routing signal for now
Don't fold `blocked` into edgeOptimizeEnabled yet — persistEdgeConfig's
routingEnabled stamping (import-worker) reads edgeOptimizeEnabled, so
gating it on WAF status today would mean a routing-confirmed-but-WAF-
blocked site never gets routingEnabled stamped, which would misdirect
the frontend's "Configure CDN" vs "running final checks" messaging for
that exact case.
blocked/statusCode are still classified from the same fetched response
and returned + logged, for the frontend to start consuming later, with
retiring the separate checkWafConnectivity call as a further follow-up.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 532455c commit 0f3380e
2 files changed
Lines changed: 20 additions & 11 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
1348 | | - | |
1349 | | - | |
1350 | | - | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
| 1355 | + | |
1351 | 1356 | | |
1352 | 1357 | | |
1353 | 1358 | | |
| |||
1407 | 1412 | | |
1408 | 1413 | | |
1409 | 1414 | | |
1410 | | - | |
1411 | | - | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
1412 | 1420 | | |
1413 | 1421 | | |
1414 | | - | |
| 1422 | + | |
| 1423 | + | |
1415 | 1424 | | |
1416 | 1425 | | |
1417 | 1426 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5783 | 5783 | | |
5784 | 5784 | | |
5785 | 5785 | | |
5786 | | - | |
| 5786 | + | |
5787 | 5787 | | |
5788 | 5788 | | |
5789 | 5789 | | |
| |||
5795 | 5795 | | |
5796 | 5796 | | |
5797 | 5797 | | |
5798 | | - | |
| 5798 | + | |
5799 | 5799 | | |
5800 | 5800 | | |
5801 | 5801 | | |
| |||
5809 | 5809 | | |
5810 | 5810 | | |
5811 | 5811 | | |
5812 | | - | |
| 5812 | + | |
5813 | 5813 | | |
5814 | 5814 | | |
5815 | 5815 | | |
5816 | 5816 | | |
5817 | 5817 | | |
5818 | | - | |
| 5818 | + | |
5819 | 5819 | | |
5820 | 5820 | | |
5821 | 5821 | | |
| |||
5831 | 5831 | | |
5832 | 5832 | | |
5833 | 5833 | | |
5834 | | - | |
| 5834 | + | |
5835 | 5835 | | |
5836 | 5836 | | |
5837 | 5837 | | |
| |||
0 commit comments