From c2621a58705a4f8552a6b1dfc1a2e0daa9b1e943 Mon Sep 17 00:00:00 2001 From: binaryify Date: Mon, 21 Aug 2023 21:34:41 +0800 Subject: [PATCH] =?UTF-8?q?update:=20anonymous=5Ftoken=20=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- app.js | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f4e2166..93f9d51 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ node_modules .vscode .history examples/moddef.json -bin \ No newline at end of file +bin +util/config.json diff --git a/app.js b/app.js index eab4344..620e106 100644 --- a/app.js +++ b/app.js @@ -1,5 +1,7 @@ #!/usr/bin/env node +const generateConfig = require('./generateConfig') async function start() { + await generateConfig() require('./server').serveNcmApi({ checkVersion: true, })