debug-server-next
Version:
Dev server for hippy-core.
18 lines (17 loc) • 677 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.config = void 0;
const tslib_1 = require("tslib");
const path_1 = tslib_1.__importDefault(require("path"));
exports.config = {
domain: 'localhost:38989',
wsPath: '/debugger-proxy',
cachePath: path_1.default.join(__dirname, 'cache'),
logPath: path_1.default.join(__dirname, 'log'),
hmrPortPath: path_1.default.join(__dirname, 'cache/hmr-port.txt'),
redis: {
// ⚠️ redis-server 6 以下,username 需要置空
url: `redis://:${process.env.REDIS_PWD}@${process.env.REDIS_HOST}:${process.env.REDIS_PORT}/0`,
key: 'tdf:debugtargets',
},
};