password reset link fix
This commit is contained in:
parent
066cdfc0d5
commit
53559f432f
@ -227,7 +227,8 @@ export class EmailService {
|
|||||||
|
|
||||||
async sendPasswordResetEmail(email: string, name: string, token: string) {
|
async sendPasswordResetEmail(email: string, name: string, token: string) {
|
||||||
this.logger.log("Sending password reset email to:", email);
|
this.logger.log("Sending password reset email to:", email);
|
||||||
const frontendUrl = "https://imk.mk";
|
const frontendUrl = "https://www.imk.mk";
|
||||||
|
// this.configService.get<string>("FRONTEND_URL") || "http://localhost:5147";
|
||||||
const resetLink = `${frontendUrl}/reset-password?token=${token}`;
|
const resetLink = `${frontendUrl}/reset-password?token=${token}`;
|
||||||
const mailOptions = {
|
const mailOptions = {
|
||||||
from: this.from,
|
from: this.from,
|
||||||
|
|||||||
@ -28,4 +28,11 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
build: {
|
||||||
|
rollupOptions: {
|
||||||
|
output: {
|
||||||
|
manualChunks: undefined,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user