Minor cleanup.
This commit is contained in:
@@ -64,7 +64,11 @@ const ipcMainHandleAuthStateChanged = async (
|
||||
};
|
||||
|
||||
const ipMainHandleResetPassword = async (): Promise<void> => {
|
||||
shell.openExternal("https://imex.online/resetpassword");
|
||||
shell.openExternal(
|
||||
import.meta.env.VITE_COMPANY === "IMEX"
|
||||
? "https://imex.online/resetpassword"
|
||||
: "https://romeonline.io/resetpassword",
|
||||
);
|
||||
};
|
||||
|
||||
export { ipcMainHandleAuthStateChanged, ipMainHandleResetPassword };
|
||||
|
||||
Reference in New Issue
Block a user