1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-23 06:24:15 +02:00
This commit is contained in:
syuilo
2017-10-31 22:35:31 +09:00
parent 30a4e839a6
commit 5efb52b9f5
7 changed files with 26 additions and 15 deletions

View File

@@ -9,6 +9,7 @@ let page = null;
export default me => {
route('/', index);
route('/i>mentions', mentions);
route('/channel', channels);
route('/post::post', post);
route('/search::query', search);
route('/:user', user.bind(null, 'home'));
@@ -54,6 +55,10 @@ export default me => {
mount(el);
}
function channels() {
mount(document.createElement('mk-channels-page'));
}
function notFound() {
mount(document.createElement('mk-not-found'));
}