修复本地文件连接异常问题

dependabot/npm_and_yarn/fir_admin/tmpl-1.0.5
youngS 3 years ago
parent dd218fe745
commit a8e8402eff
  1. 2
      fir_ser/api/utils/storage/localApi.py

@ -30,7 +30,7 @@ class LocalStorage(object):
uri = 'http://'
if self.is_https:
uri = 'https://'
return f"{uri}${self.domain_name}"
return f"{uri}{self.domain_name}"
def get_download_url(self, name, expires=600, force_new=False):
download_url = '/'.join([self.get_base_url(), 'download', name])

Loading…
Cancel
Save