diff --git a/README.md b/README.md index ec3be7810..3a220c96f 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Jumpserver采纳分布式架构,支持多机房跨区域部署,中心节点 ### 功能 - ![Jumpserver功能](https://jumpserver-release.oss-cn-hangzhou.aliyuncs.com/Jumpserver13.jpg "Jumpserver功能") + ![Jumpserver功能](https://jumpserver-release.oss-cn-hangzhou.aliyuncs.com/Jumpserver-14.png "Jumpserver功能") ### 开始使用 diff --git a/apps/common/utils.py b/apps/common/utils.py index 7daa449a4..bb4f0132c 100644 --- a/apps/common/utils.py +++ b/apps/common/utils.py @@ -38,7 +38,8 @@ def reverse(view_name, urlconf=None, args=None, kwargs=None, if external: from common.models import common_settings - url = common_settings.SITE_URL.strip('/') + url + site_url = common_settings.SITE_URL or settings.SITE_URL + url = site_url.strip('/') + url return url