fix issues

pull/309/head v2.3.16
vapao 2021-05-10 10:50:05 +08:00
parent d512e80838
commit fdeed668dd
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class Command(BaseCommand):
# update web # update web
web_dir = os.path.join(settings.BASE_DIR, '../spug_web') web_dir = os.path.join(settings.BASE_DIR, '../spug_web')
commands = [ 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'rm -rf {web_dir}/build',
f'tar xf /tmp/spug_web.tar.gz -C {web_dir}' f'tar xf /tmp/spug_web.tar.gz -C {web_dir}'
] ]

View File

@ -9,7 +9,7 @@ from libs.utils import human_datetime
import requests import requests
import json import json
spug_server = 'http://spug-wx.qbangmang.com' spug_server = 'https://api.spug.cc'
notify_source = 'monitor' notify_source = 'monitor'