Skip to content

Commit 2598762

Browse files
committed
chore: add config site url
1 parent 3e5c139 commit 2598762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/components/SupportPage/data/useCheckLicenseValidity.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function useCheckLicenseValidity(forceRequest = false) {
2424
enabled: config.IS_PRO && !!config.KEY && (isNeedValidityCheck || forceRequest),
2525
queryFn: () =>
2626
proxyRequest<CheckUpdateResponse>({
27-
bodyParams: { domain: window.location.origin, licenseKey: [config.KEY || ''] },
27+
bodyParams: { domain: config.SITE_URL, licenseKey: [config.KEY || ''] },
2828
encrypted: ['bodyParams.licenseKey.0'],
2929
method: 'POST',
3030
url: licenseCheckUrl

0 commit comments

Comments
 (0)