This commit is contained in:
熊潇 2025-06-21 18:59:06 +08:00
parent da6d4041ad
commit 32b6e04d6c
2 changed files with 25 additions and 2 deletions

View File

@ -1 +1,21 @@
db-sqlite
db-sqlite
node_modules
dist
app.config.json5
apps.config.json
deploy.tar.gz
cache-file
/apps
logs
.env*
!.env.example
.turbo

View File

@ -1,4 +1,7 @@
import { xhsServices, app } from '../index.ts';
import { xhsServices, app, xhsRootClient } from '../index.ts';
import { useConfig } from '@kevisual/use-config/env';
const config = useConfig();
import { program } from 'commander';
xhsRootClient.setCookie(config.XHS_ROOT_COOKIE || '');
export { program, xhsServices, app };