Commit 4f4e9669 authored by Emiliano Balbuena's avatar Emiliano Balbuena

(chore): Redirect email confirmation URL to root

1 merge request!699Email Confirmation
Pipeline #105221525 failed with stages
in 30 minutes and 47 seconds
import { NgModule } from '@angular/core';
import { CommonModule as NgCommonModule } from '@angular/common';
import { RouterModule, Router } from '@angular/router';
import { RouterModule, Router, Routes } from '@angular/router';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { MINDS_PIPES } from './pipes/pipes';
......@@ -130,6 +130,13 @@ import { EmailConfirmationComponent } from './components/email-confirmation/emai
PlotlyModule.plotlyjs = PlotlyJS;
const routes: Routes = [
{
path: 'email-confirmation',
redirectTo: '/',
},
];
@NgModule({
imports: [
NgCommonModule,
......@@ -138,6 +145,7 @@ PlotlyModule.plotlyjs = PlotlyJS;
FormsModule,
ReactiveFormsModule,
PlotlyModule,
RouterModule.forChild(routes),
],
declarations: [
MINDS_PIPES,
......
Please register or to comment