From 180fed0e7e6dbd93868e490a2ffd32579b70f27e Mon Sep 17 00:00:00 2001 From: Yang KaiQi <1104361313@qq.com> Date: Sat, 12 Oct 2024 23:41:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 27 +++++---------------------- package.json | 2 +- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 86f4a06..2a9133a 100644 --- a/README.md +++ b/README.md @@ -1,33 +1,16 @@ -![Release](https://img.shields.io/badge/Release-0.0.2-blue) +![Release](https://img.shields.io/badge/Release-0.1.0-blue) --- ## 介绍 一款基于Node.js Express框架,开发的反向代理程序. ## 需求 1. 操作系统: Linux/Windows/MacOS. 2. 语言: Node.js. -## 配置 -查看./src/config.ts文件. -```TypeScript -let PROXYS: Proxy[] = [ - { - domain: "www.example1.com", - url: "https://www.microsoft.com/", - enable: true - }, - { - domain: "www.example2.com", - url: "https://github.com/", - enable: true - } -] -``` -> 1. www.example1.com 代理 https://www.microsoft.com/ -> 2. www.example2.com 代理 https://github.com/ ## 部署 1. Linux/Windows/MacOS:执行`npm run run`命令. 2. 支持Docker. ## Vercel部署 -1. Fork本项目. +1. GitHub Fork本项目. 2. 修改配置. -3. Vercel Import Fork的项目. -4. Vercel Fork项目的Settings-Domains添加域名. \ No newline at end of file +3. Vercel导入Fork的项目. +4. Vercel Fork项目的Settings-Domains添加域名. +## [文档](./doc/catalog.md) \ No newline at end of file diff --git a/package.json b/package.json index 6be70d6..120294f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "easy-reverse-proxy", - "version": "0.0.1", + "version": "0.1.0", "private": true, "scripts": { "dev": "ts-node ./src/main.ts",