Update ip

This commit is contained in:
jimmy 2022-11-05 01:22:23 +13:00
parent 4b5ecf2d55
commit 6259c030c8
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ def main():
for changes in watch('./images'): for changes in watch('./images'):
print(changes) print(changes)
for change in changes: for change in changes:
url = 'http://127.0.0.1:8000/upload' url = 'http://10.1.1.100:8000/upload'
file = {'file': open(change[1], 'rb')} file = {'file': open(change[1], 'rb')}
resp = requests.post(url=url, files=file) resp = requests.post(url=url, files=file)