feat(frontend): show active app domain with click-to-copy
Surface the domain the app is actually reachable on right now (verified custom domain, else the platform subdomain) as a single "Application Domain" field. Clicking it copies the address to the clipboard and shows a "Copied" toast. Centralizes the active-domain logic so the page header and the verified-custom-domain block stay in sync, and always loads domain-info so the platform host is correct even without a custom domain. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1291,6 +1291,7 @@ const fa = {
|
||||
sourceCode: 'سورسکد', replace: 'جایگزینی', uploadSourceClick: 'سورسکد را آپلود و روی «انتشار» بزن تا شروع کنی',
|
||||
// domain
|
||||
customDomain: 'دامنهٔ اختصاصی', addCustomDomain: 'افزودن دامنهٔ اختصاصی', setUpCustomDomain: 'راهاندازی دامنهٔ اختصاصی',
|
||||
appDomain: 'دامنهٔ اپلیکیشن', copyDomainHint: 'برای کپی کلیک کن',
|
||||
platformDomain: 'دامنهٔ پلتفرم', domainPlaceholder: 'example.com یا www.example.com', dnsSetupGuide: 'راهنمای تنظیم DNS',
|
||||
removeCustomDomain: 'حذف دامنهٔ اختصاصی',
|
||||
// resources
|
||||
|
||||
Reference in New Issue
Block a user