fix redirect after adding ping.gg (#8972)

Co-authored-by: rkreddy99 <rreddy@e2clouds.com>
pull/8960/head
Rama Krishna Reddy 2023-05-19 05:52:07 +05:30 committed by GitHub
parent 175fc4fcf3
commit 8225e61710
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export async function getHandler(req: NextApiRequest, res: NextApiResponse) {
key: {},
});
return { url: getInstalledAppPath({ variant: "other", slug: "ping" }) };
return { url: getInstalledAppPath({ variant: appConfig.variant, slug: "ping" }) };
}
export default defaultResponder(getHandler);