Skip to content

Commit

Permalink
feat: update service ip addr
Browse files Browse the repository at this point in the history
  • Loading branch information
uniquemo committed May 4, 2021
1 parent 256e360 commit ac0eecb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ React Netease Music——一个基于React、TypeScript的高仿网易云mac客
一直想写一个音乐播放器把玩把玩,最近无意中发现很早就有人整理出了相关的API,话不多说,撸起来!代码使用React编写,没有使用额外的数据管理库(因为react hook真的挺方便的),欢迎提出你的意见,喜欢的话请给我一个star哈~

## 项目体验地址
[高仿网易云音乐播放器——音为爱呀😍](http://47.115.57.59:8000/discovery)
[高仿网易云音乐播放器——音为爱呀😍](http://106.52.241.181:8000/discovery)

## 功能列表
- [x] 登录/登出(目前仅支持手机密码登录)
Expand Down
2 changes: 1 addition & 1 deletion deploy/bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
echo "Start to deploy react-netease-music"

yarn build
scp -r ./dist/** root@47.115.57.59:/usr/share/nginx/html
scp -r ./dist/** root@106.52.241.181:/usr/share/nginx/html

echo "Successfully deploy react-netease-music"
4 changes: 2 additions & 2 deletions src/constants/server.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
const serverAddr = '47.115.57.59'
export const SERVER = `http://${serverAddr}:3000`
const serverAddr = '106.52.241.181'
export const SERVER = `${window.location.protocol}//${serverAddr}:3000`

0 comments on commit ac0eecb

Please sign in to comment.