65 Star 236 Fork 68

PESCMS/PESCMS-DOC

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
check-proxy.js 487 Bytes
一键复制 编辑 原始数据 按行查看 历史
PESCMS 提交于 2025-02-10 09:00 +08:00 . UE编辑器添加多颜色引用功能。
const fs = require('fs');
const path = require('path');
// 读取bs-config.js文件
const bsConfigPath = path.join(__dirname, 'bs-config.js');
const config = require(bsConfigPath);
// 检查proxy是否为空
if (!config.proxy) {
console.log('\x1b[33m%s\x1b[0m', '警告: 要运行前端调试,请在 bs-config.js中设置proxy的PHP服务器地址!');
process.exit(1); // 退出进程并返回错误代码
} else {
console.log('proxy 地址已配置:', config.proxy);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/fallBirds/PESCMS-DOC.git
git@gitee.com:fallBirds/PESCMS-DOC.git
fallBirds
PESCMS-DOC
PESCMS-DOC
master

搜索帮助