Add new components for AI and tutorials, update routing, and enhance file upload functionality
This commit is contained in:
@@ -1,16 +1,17 @@
|
||||
import {RouterModule, Routes} from '@angular/router';
|
||||
import {NgModule} from '@angular/core';
|
||||
import {environment} from '../environments/environment';
|
||||
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
redirectTo: 'main/generate-image',
|
||||
redirectTo: environment.default_page,
|
||||
pathMatch: 'full'
|
||||
},
|
||||
{
|
||||
path: 'main',
|
||||
loadChildren: () =>
|
||||
import('./main-module/main.module').then((m) => m.MainModule),
|
||||
import('./modules/main-module/main.module').then((m) => m.MainModule),
|
||||
}
|
||||
];
|
||||
@NgModule({
|
||||
|
||||
Reference in New Issue
Block a user