替换正则提取方式,使用 js-yaml 解析 YAML 文件, 通过 config.gateway.auth.token 和 config.gateway.port 读取字段。 Made-with: Cursor