summaryrefslogtreecommitdiff
path: root/src/web/app/status/script.ts
blob: 84483acab7107ab21ebf67154076ba10d0538b41 (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(() => {
	mount(document.createElement('mk-index'));
});

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