You've already forked dev-sidecar
mirror of
https://github.com/docmirror/dev-sidecar.git
synced 2025-11-26 14:10:40 +08:00
bugfix: 读取内置 domestic-domain-allowlist.txt 失败的问题修复
This commit is contained in:
@@ -8,6 +8,7 @@ function createPacClient (pacFilePath) {
|
||||
function readFile (location) {
|
||||
try {
|
||||
log.info('pac root dir:', path.resolve('./'))
|
||||
log.info('pac location:', location)
|
||||
const filePath = path.resolve(location)
|
||||
log.info('read pac path:', filePath)
|
||||
return fs.readFileSync(location).toString()
|
||||
|
||||
Reference in New Issue
Block a user