mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01: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
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.21.0",
|
||||
"version": "4.21.1",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
|
||||
Reference in new issue
Block a user