chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 13:34:48 +08:00
commit 77bb5bf71f
3762 changed files with 353249 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
const server = require("./index.cjs");
const port = process.env.PORT ? parseInt(process.env.PORT, 10) : 8081;
const metricsPort = process.env.METRICS_PORT ? parseInt(process.env.METRICS_PORT, 10) : 9090;
if (process.env.METRICS_ENABLED !== "false") {
server.default.startMetricsServer(metricsPort);
}
server.default.start(port);