Skip to content

Commit

Permalink
更改版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
XiaoXinYo committed Oct 12, 2024
1 parent e5f649d commit 180fed0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
27 changes: 5 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
@@ -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添加域名.
3. Vercel导入Fork的项目.
4. Vercel Fork项目的Settings-Domains添加域名.
## [文档](./doc/catalog.md)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 180fed0

Please sign in to comment.