change format of custom URL schema according to the new way of handling it in the back end

This commit is contained in:
Nuwan 2024-10-23 11:55:47 +05:30
parent 541bca6b28
commit b8b1146320
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
export default (section, queryStr) => {
const url = encodeURI(`${process.env.REACT_APP_CLIENT_BASE_URL}/client#/${section}/custom~yes|${queryStr}`);
const url = encodeURI(`${process.env.REACT_APP_CLIENT_BASE_URL}/signin?redirect-to=/client#/${section}/custom~yes|${queryStr}`);
const urlScheme = `jamkazam://url=${url}`;
return urlScheme;
};