initial commit
This commit is contained in:
16
app/router.js
Normal file
16
app/router.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import EmberRouter from '@embroider/router';
|
||||
import config from 'frontend-lblod-chat/config/environment';
|
||||
|
||||
export default class Router extends EmberRouter {
|
||||
location = config.locationType;
|
||||
rootURL = config.rootURL;
|
||||
}
|
||||
|
||||
Router.map(function () {
|
||||
this.route('login');
|
||||
this.route('mock-login');
|
||||
this.route('authorization-callback', { path: '/authorization/callback' });
|
||||
this.route('conversations');
|
||||
this.route('conversation', { path: '/conversations/:id' });
|
||||
this.route('route-not-found', { path: '/*wildcard' });
|
||||
});
|
||||
Reference in New Issue
Block a user