ui: update build config

This commit is contained in:
undefined committed 2023-03-14 13:36:06 +08:00
1 parent cf88855bee
commit d3892202dc
3 files changed
+12 -5

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { hostname } from 'os';
import { AggregatorRegistry, metric } from 'prom-client';
import { AggregatorRegistry, Metric } from 'prom-client';
import { Context, Handler, SystemModel } from 'hydrooj';
import { createRegistry } from './metrics';
@@ -14,7 +14,7 @@ declare module 'hydrooj' {
}
}
const instances: Record<string, metric[]> = {};
const instances: Record<string, Metric[]> = {};
class MetricsHandler extends Handler {
noCheckPermView = true;