printServer/.gitignore
liufumingren f81605af2a chore(git): 停止追踪 config.json(本机运行时配置,含 token)
config.json 里是机器本地运行时状态:token/refreshToken、tokenExpireTime、downloadDir、
名称、isRecording 等,每台机器都不一样,且含有效期内的凭据。它被当作"bundled 配置"写入
时还会整体覆盖 AppData 下的实际配置(token/refreshToken/hikvision 会一起丢)。
入库既没意义又有泄露风险,改为不追踪(文件保留在本地,未删除)。

打包/默认配置仍由 config.packaged.json 提供,未受影响。

注意:其它机器 pull 到这次删除时,若本地 config.json 有改动会被拒("local changes would
be overwritten"),需要先备份该文件再 pull,或改用当前工作区的配置。
2026-09-15 22:37:40 +08:00

34 lines
462 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

node_modules/
dist/
versioning/
coverage/
scripts/deploy.config.local.json
临时/
涓存椂/
rsa/
.vscode/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
Thumbs.db
.DS_Store
*.tmp
*.temp
*.bak
# 运行时产物(程序生成,不应入库)
runtime.json
*.db-shm
*.db-wal
v133_monitor_tmp.ps1
# 本机运行配置(含 token、下载目录、本机名称等运行时状态;打包模板用 config.packaged.json)
/config.json