mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:01:32 +00:00
Allow access to console from route /console
This commit is contained in:
parent
198c84fca7
commit
861c486597
@ -8,6 +8,7 @@ import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { IdeComponent } from './ide/ide.component';
|
||||
import { TerminalComponent } from './terminal/terminal.component';
|
||||
import { MessagesComponent } from './messages/messages.component';
|
||||
import { ConsoleComponent } from './console/console.component';
|
||||
import { TestmessengerComponent } from './testmessenger/testmessenger.component';
|
||||
import { config } from './config';
|
||||
|
||||
@ -17,6 +18,7 @@ const routes: Routes = [
|
||||
{ path: config.ide.route, component: IdeComponent },
|
||||
{ path: config.terminal.route, component: TerminalComponent },
|
||||
{ path: config.messages.route, component: MessagesComponent },
|
||||
{ path: config.console.route, component: ConsoleComponent },
|
||||
{ path: config.testmessenger.route, component: TestmessengerComponent }
|
||||
];
|
||||
|
||||
|
@ -38,6 +38,7 @@ export const config = {
|
||||
showNextButton: true
|
||||
},
|
||||
console: {
|
||||
route: 'console',
|
||||
defaultContent: '',
|
||||
rewriteContentWithNewLogs: true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user