system check & setting_secret

This commit is contained in:
undefined committed 2020-07-03 13:37:04 +08:00
1 parent c52ddd7512
commit 57f711ed4f
18 files changed
+295 -134

No files matched your search

+7 -1
View File
@@ -1,10 +1,16 @@
/* eslint-disable no-empty-function */
/* eslint-disable class-methods-use-this */
const { Route, Handler } = require('../service/server');
const { NotFoundError } = require('../error');
class NotFoundHandler extends Handler {
async prepare() { // eslint-disable-line class-methods-use-this
async prepare() {
throw new NotFoundError();
}
async get() { }
async post() { }
}
async function apply() {