mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
修复discussion模块
This commit is contained in:
1 parent
2554cf660a
commit
33e277f28f
30 files changed
+2460
-187
No files matched your search
@@ -11,7 +11,7 @@ process.stdin.on('data', async (input) => {
|
||||
|
||||
global.Hydro = {
|
||||
handler: {},
|
||||
template: {}
|
||||
template: {},
|
||||
};
|
||||
|
||||
require('./lib/i18n');
|
||||
@@ -44,7 +44,7 @@ async function run() {
|
||||
for (const i in global.Hydro.handler) {
|
||||
await global.Hydro.handler[i].apply();
|
||||
}
|
||||
const notfound = require(`./handler/notfound`);
|
||||
const notfound = require('./handler/notfound');
|
||||
await notfound.apply();
|
||||
server.start();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user