mirror of https://github.com/openspug/spug
parent
d512e80838
commit
fdeed668dd
|
@ -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}'
|
||||||
]
|
]
|
||||||
|
|
|
@ -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'
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue