From 08b8050c3c0fd36a8c845250a4d2c0876438445a Mon Sep 17 00:00:00 2001 From: ngfchl Date: Fri, 18 Nov 2022 14:20:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=8B=E8=AF=AF=EF=BC=8C=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E5=B0=91=E6=89=93=E4=B8=80=E4=B8=AA=E2=80=98s=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pt_site/apps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: