Skip to content

Commit

Permalink
🎉 version(architecture): v0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ting-Code committed Aug 20, 2024
1 parent 5d768cb commit 765765d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dockerBootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ docker rmi tingcode/web-admin:latest
# 拉取镜像
docker pull tingcode/web-admin:latest

docker run --rm -d -p 80:80 -p 8680:8680 --name web-admin tingcode/web-admin:latest
docker run --rm -d -p 80:80 -p 8081:8081 --name web-admin tingcode/web-admin:latest
4 changes: 2 additions & 2 deletions .github/workflows/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ http {
# 自定义的 Nginx 配置
server {
# 监听的端口
listen 8680;
listen 80;
# 服务器名称
server_name localhost;

Expand Down Expand Up @@ -84,7 +84,7 @@ http {
# 自定义的 Nginx 配置
server {
# 监听的端口
listen 8680;
listen 8081;
# 服务器名称
server_name micro;
# micro /docs 则最后不加/
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/system/src/hooks/micro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const devMicroUrlMap = {
micro: 'http://139.199.173.241/'
}
export const proMicroUrlMap = {
docs: 'http://139.199.173.241:8680/docs/',
docs: 'http://139.199.173.241:8081/docs/',
micro: 'http://139.199.173.241/micro/'
}
const IFRAME = ['docs']
Expand Down

0 comments on commit 765765d

Please sign in to comment.