Browse Source

Merge pull request #7 from jerry88666/patch-1

Update README.md
pull/13/head
KONENET 2 years ago committed by GitHub
parent
commit
7412eef9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      README.md

10
README.md

@ -167,14 +167,20 @@ go run cmd/main.go @@ -167,14 +167,20 @@ go run cmd/main.go
git clone https://github.com/kone-net/go-chat-web
```
进入目录
```shell
cd go-chat-web
```
安装前端基本依赖
```shell
npm install
```
如果后端地址或者端口号需要修改
放在服务器运行时一定需要修改后端地址
```shell
修改src/common/param/Params.jsx里面的IP_PORT
修改src/chat/common/param/Params.jsx里面的IP_PORT
```
运行前端代码默认启动端口是3000
@ -597,4 +603,4 @@ bindParse = () => { @@ -597,4 +603,4 @@ bindParse = () => {
preview.srcObject.getTracks().forEach((track) => track.stop());
this.dataChunks = []
}
```
```

Loading…
Cancel
Save