[Bug] Subscription generator uses default *.workers.dev Worker URLs for child Workers instead of bound Custom Domains
Author: sophielangziCreated Sep 9, 2026Updated Sep 9, 2026
Attention | توجه
- I searched and no similar issues were found | جستجو کردم و هیچ گزارش مشابهی پیدا نشد
- I read FAQ and no relevant issues were found | سوالات متداول را خواندم و هیچ مورد مربوطی پیدا نشد
What Happened? | چه اتفاقی افتاده؟
When BPB references or deploys child Workers (e.g., ydpa2w1ii9yq9k9-ig3i), each child Worker has a default Cloudflare Worker URL ending in *.workers.dev. Even after binding a Custom Domain to the child Worker in the Cloudflare Dashboard under Custom Domains and Routes, the panel's subscription generator still uses the primary Worker URL (*.workers.dev) to construct non-D node endpoints.
Minimal Reproducible Example | چه فرایندی برای مشاهده این مشکل طی کردهاید؟
- Bind a Custom Domain to the child Worker in Cloudflare Dashboard under Custom Domains and Routes.
- Configure
Custom Domainin the BPB Panel settings page. - Fetch the subscription link and import it into a client (e.g., Shadowrocket).
- Inspect node configurations: non-
Dnodes still retain the hardcoded*.workers.devendpoint instead of using the custom domain.
Relevant log output | لاگ برنامه یا پنل
Generated subscription output for non-D node:
Address: <child-worker-id>.<subdomain>.workers.dev
Expected output:
Address: <child-worker-id>.<my-custom-domain>Panel version | نسخه پنل
v5.1.1
Client | برنامه فیلترشکن
Shadowrocket
Client version | نسخه برنامه فیلترشکن
2.2.90 (3378)
Source: bia-pain-bache/BPB-Worker-Panel