Linty fresh and pretty
continuous-integration/drone/push Build is failing

This commit is contained in:
mifi committed 2023-05-02 20:54:14 -04:00
1 parent f105ce537f
commit 5fba4c6643
4 files changed
+24 -14

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { API_PATH, PORT, RESET_ROUTE } from '../constants/defaults';
export const getPasswordResetLink = (token: string) => {
const hostname = process.env.HOST_NAME || `localhost:${process.env.PORT || PORT}`;
const path = `${process.env.API_PATH || API_PATH}${process.env.RESET_ROUTE || RESET_ROUTE}`;
return `https://${hostname}${path}?t=${token}`;
};