From fdeed668dd4b329205f53dac0aac4273e4c0e775 Mon Sep 17 00:00:00 2001 From: vapao Date: Mon, 10 May 2021 10:50:05 +0800 Subject: [PATCH] fix issues --- spug_api/apps/account/management/commands/update.py | 2 +- spug_api/libs/spug.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spug_api/apps/account/management/commands/update.py b/spug_api/apps/account/management/commands/update.py index 9c8f2c74..323c6494 100644 --- a/spug_api/apps/account/management/commands/update.py +++ b/spug_api/apps/account/management/commands/update.py @@ -29,7 +29,7 @@ def handle(self, *args, **options): # update web web_dir = os.path.join(settings.BASE_DIR, '../spug_web') commands = [ - f'curl -o /tmp/spug_web.tar.gz http://cdn.qbangmang.com/spug/web_{version}.tar.gz', + f'curl -o /tmp/spug_web.tar.gz https://cdn.spug.cc/spug/web_{version}.tar.gz', f'rm -rf {web_dir}/build', f'tar xf /tmp/spug_web.tar.gz -C {web_dir}' ] diff --git a/spug_api/libs/spug.py b/spug_api/libs/spug.py index 3e723bb2..9c8a6213 100644 --- a/spug_api/libs/spug.py +++ b/spug_api/libs/spug.py @@ -9,7 +9,7 @@ import requests import json -spug_server = 'http://spug-wx.qbangmang.com' +spug_server = 'https://api.spug.cc' notify_source = 'monitor'