Skip to content

Commit

Permalink
fix if of url
Browse files Browse the repository at this point in the history
  • Loading branch information
dodosophia committed Jun 30, 2020
1 parent b0e304e commit 1aeafa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lyrebird_bugit/attachment.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
BUGIT_STORAGE = lyrebird.get_plugin_storage()
ATTACHMENT_ROOT = Path(BUGIT_STORAGE)/'attachments'

EXPORT_URL = f'http://{config.get("ip")}:{config.get("mock.port")}/api/snapshot/export/event'
EXPORT_URL = f'http://127.0.0.1:{config.get("mock.port")}/api/snapshot/export/event'

def _check_dir():
if not ATTACHMENT_ROOT.exists():
Expand Down

0 comments on commit 1aeafa2

Please sign in to comment.