Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Jul 8, 2023
1 parent f01f31d commit d85892f
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
token: ${{ secrets.GH_PAT }}
path: 'domain_admin/public'

- name: Checkout
uses: actions/checkout@v3
with:
repository: 'mouday/domain-admin-mini'
ref: 'dist'
token: ${{ secrets.GH_PAT }}
path: 'domain_admin/public/m'

- name: Build Docker Image
uses: docker/build-push-action@v2
if: startsWith(github.ref, 'refs/tags/')
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ jobs:
token: ${{ secrets.GH_PAT }}
path: 'domain_admin/public'

- name: Checkout
uses: actions/checkout@v3
with:
repository: 'mouday/domain-admin-mini'
ref: 'dist'
token: ${{ secrets.GH_PAT }}
path: 'domain_admin/public/m'

- name: Build and publish
if: startsWith(github.ref, 'refs/tags/')
env:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
- ssl证书申请
- admin拥有所有权限

- v1.4.27(2023-07-08)
- 新增 移动端H5页面

- v1.4.26(2023-07-07)
- 修复 久远的旧版本升级到新版本出错的问题

Expand Down
10 changes: 9 additions & 1 deletion domain_admin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,15 @@ def index():
return send_file('public/index.html')


@app.get('/m/')
def mobile():
"""
移动端首页
:return:
"""
return send_file('public/m/index.html')


@app.get('/test')
def app_hello():
"""
Expand Down Expand Up @@ -105,5 +114,4 @@ def init_app(flask_app):
system_service.init_system_config(flask_app)



init_app(app)
1 change: 1 addition & 0 deletions http/domain-info.http
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ X-TOKEN: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE2NjQ5Nj
{}


###

POST {{baseUrl}}/api/checkDomainCert
Content-Type: application/json
Expand Down

0 comments on commit d85892f

Please sign in to comment.