move docs, remove katex

This commit is contained in:
undefined committed 2020-07-20 16:03:22 +08:00
1 parent da6002278d
commit c4a13f2e27
27 files changed
+190 -550

No files matched your search

+1 -4
View File
@@ -8,9 +8,6 @@ import Router from 'koa-router';
import cache from 'koa-static-cache';
import nunjucks from 'nunjucks';
import mongodb from 'mongodb';
import parse from 'yargs-parser';
const argv = parse(process.argv.slice(2));
class Loader {
getSource(name: string) { // eslint-disable-line class-methods-use-this
@@ -110,7 +107,7 @@ export function load() {
ctx.body = await render('setup.html');
ctx.response.type = 'text/html';
});
const listenPort = argv.port || 8888;
const listenPort = global.argv.port || 8888;
router.post('/', async (ctx) => {
const {
host, port, name, username, password,