Skip to content

Commit

Permalink
auto release
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Jun 30, 2023
1 parent 7568f9d commit 766902a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
- v1.5.0(开发中)
- 新增网站监控 [issues17](https://github.com/mouday/domain-admin/issues/17)


- v1.4.15(2023-06-30)
- 修复 `.co` 域名服务商`registrar_url` 字段缺少`http://` 的问题

- v1.4.14(2023-06-30)
- 新增 域名`注册商` 字段,感谢 [@mjwtc0722](https://github.com/mjwtc0722) 贡献的部分代码

Expand Down
4 changes: 4 additions & 0 deletions domain_admin/utils/whois_util/whois_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,10 @@ def get_domain_whois(domain):
if registrar_config:
registrar_url = registrar_config['registrar_url']

# 修复 https:// http://
if registrar_url and (not registrar_url.startswith('http://') or not registrar_url.startswith('https://')):
registrar_url = 'http://' + registrar_url

if start_time and expire_time:
return {
'start_time': start_time,
Expand Down
2 changes: 1 addition & 1 deletion domain_admin/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"""
版本号
"""
VERSION = '1.4.14'
VERSION = '1.4.15'

0 comments on commit 766902a

Please sign in to comment.