Compare commits

...

2 Commits

Author SHA1 Message Date
8c9011ca32 fix:细节修复 2025-09-07 09:03:00 +08:00
33237859f8 fix:细节修复 2025-09-07 08:41:33 +08:00
3 changed files with 6 additions and 13 deletions

View File

@ -1,16 +1,9 @@
## 构建: ## 构建:
- npm i pnpm -g
- pnpm i - pnpm i
- pnpm build - pnpm build
- bash start.sh - bash start.sh
## 使用: ## 使用:
- public/files/image/图片 支持多级目录
- public/files/media/视频 支持多级目录
- logs/日志
- src/modules/路由 支持post&get
- .env 环境变量 - .env 环境变量
- 其他使用说明请参考[Crystelf-docs](https://docs.crystelf.top)
## 贡献
- fork到自己的储存库
- 在自己的储存库内推送更新
- 提交pr,等待合并

View File

@ -20,8 +20,8 @@ export class MemeService {
private startAutoUpdate() { private startAutoUpdate() {
setInterval(async () => { setInterval(async () => {
const memePath = this.pathService.get('meme'); //const memePath = this.pathService.get('meme');
//const memePath = path.join(this.pathService.get('meme'),'..'); TODO 需确认检查src更新是否影响正常运行 const memePath = path.join(this.pathService.get('meme'), '..');
this.logger.log('定时检查表情仓库更新..'); this.logger.log('定时检查表情仓库更新..');
const updated = await this.autoUpdateService.checkRepoForUpdates( const updated = await this.autoUpdateService.checkRepoForUpdates(
memePath, memePath,

View File

@ -31,8 +31,8 @@ export class WordsService {
private startAutoUpdate() { private startAutoUpdate() {
setInterval(async () => { setInterval(async () => {
//const wordsPath = path.join(this.paths.get('words'),'..'); TODO 需确认检查src更新是否影响正常运行 const wordsPath = path.join(this.paths.get('words'), '..');
const wordsPath = this.paths.get('words'); //const wordsPath = this.paths.get('words');
this.logger.log('定时检查文案仓库更新..'); this.logger.log('定时检查文案仓库更新..');
const updated = await this.autoUpdateService.checkRepoForUpdates( const updated = await this.autoUpdateService.checkRepoForUpdates(
wordsPath, wordsPath,