Allow access to console from route /console

This commit is contained in:
Kristóf Tóth 2018-05-27 22:07:44 +02:00
parent 198c84fca7
commit 861c486597
2 changed files with 3 additions and 0 deletions

View File

@ -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 }
];

View File

@ -38,6 +38,7 @@ export const config = {
showNextButton: true
},
console: {
route: 'console',
defaultContent: '',
rewriteContentWithNewLogs: true
},