summaryrefslogtreecommitdiff
path: root/src/web/app/status/script.js
blob: 06d4d9a7a4a2a33011e3f369cb5f9b623f5c4cb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/**
 * Status
 */

// Style
import './style.styl';

import * as riot from 'riot';
require('./tags');
import init from '../init';

document.title = 'Misskey System Status';

/**
 * init
 */
init(me => {
	mount(document.createElement('mk-index'));
});

function mount(content) {
	riot.mount(document.getElementById('app').appendChild(content));
}