diff --git a/public/test-host.html b/public/test-host.html index 6dc8759..317e40b 100644 --- a/public/test-host.html +++ b/public/test-host.html @@ -34,7 +34,7 @@ } .preview { - width: 500px; + width: 100%; height: 800px; overflow: auto; } diff --git a/src/features/authGuide.tsx b/src/features/authGuide.tsx index 4d9e308..417ab60 100644 --- a/src/features/authGuide.tsx +++ b/src/features/authGuide.tsx @@ -9,8 +9,8 @@ import {queryKeys} from '@/lib/queryKeys.ts' import {useUserStore} from '@/store/user.ts' import type {HostContextMessage} from '@/types' -const HOST_READY_MESSAGE = 'PLAYX_READY' -const HOST_HEIGHT_MESSAGE = 'PLAYX_HEIGHT' +const HOST_READY_MESSAGE = 'IFRAME_READY' +const HOST_HEIGHT_MESSAGE = 'IFRAME_HEIGHT' const HOST_READY_INTERVAL = 500 const HOST_READY_RETRY_LIMIT = 20 const HOST_HEIGHT_REPORT_INTERVAL = 250