password reset link fix

This commit is contained in:
dimitar 2025-04-26 20:00:45 +02:00
parent 066cdfc0d5
commit 53559f432f
2 changed files with 9 additions and 1 deletions

View File

@ -227,7 +227,8 @@ export class EmailService {
async sendPasswordResetEmail(email: string, name: string, token: string) {
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 mailOptions = {
from: this.from,

View File

@ -28,4 +28,11 @@ export default defineConfig({
},
},
},
build: {
rollupOptions: {
output: {
manualChunks: undefined,
},
},
},
});