Compare commits

..

No commits in common. "8c9011ca327701cf672217f9e6c4fa996b9770bd" and "c1c3f9a5fdb19afce679f79d5798f892c6361d44" have entirely different histories.

3 changed files with 13 additions and 6 deletions

View File

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

View File

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

View File

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