mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
core: export metrics with tx2
This commit is contained in:
1 parent
14df7d7a05
commit
7f25778671
5 files changed
+21
-9
No files matched your search
@@ -30,9 +30,9 @@ declare module 'hydrooj/src/interface' {
|
||||
|
||||
const cache = {};
|
||||
const coll = db.collection('cache');
|
||||
const pages = Object.keys(global.ui.manifest)
|
||||
const pages = Object.keys(global.Hydro.ui.manifest)
|
||||
.filter((file) => file.endsWith('.page.js'))
|
||||
.map((i) => readFileSync(join(global.ui.manifest[i], i), 'utf-8'));
|
||||
.map((i) => readFileSync(join(global.Hydro.ui.manifest[i], i), 'utf-8'));
|
||||
|
||||
async function constant(args: ConstantArgs) {
|
||||
// CompileLangs
|
||||
|
||||
Reference in new issue
Block a user