diff --git a/pt_site/apps.py b/pt_site/apps.py index 9795601..ca9bcf9 100644 --- a/pt_site/apps.py +++ b/pt_site/apps.py @@ -16,7 +16,7 @@ def app_ready_handler(sender, **kwargs): data = json.load(f) logger.info('正在初始化站点规则信息表') logger.info('更新规则中,返回结果为True为新建,为False为更新,其他是错误了') - opencd = Site.objects.filter(url='http://open.cd/').first() + opencd = Site.objects.filter(url='https://open.cd/').first() if opencd: opencd = Site.objects.filter(url='https://www.open.cd/').first() if opencd: