U improve update

pull/220/head
vapao 2020-10-18 09:37:22 +08:00
parent c44f1b776a
commit 5e8ae517e5
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class Command(BaseCommand):
# update web
web_dir = os.path.join(settings.BASE_DIR, '../spug_web')
commands = [
f'curl -o /tmp/spug_web.tar.gz https://spug.dev/installer/web_{version}.tar.gz',
f'curl -o /tmp/spug_web.tar.gz http://cdn.qbangmang.com/spug/web_{version}.tar.gz',
f'rm -rf {web_dir}/build',
f'tar xf /tmp/spug_web.tar.gz -C {web_dir}'
]