Compare commits

..

1 Commits

Author SHA1 Message Date
6259c030c8 Update ip 2022-11-05 01:22:23 +13:00

View File

@@ -7,7 +7,7 @@ def main():
for changes in watch('./images'):
print(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')}
resp = requests.post(url=url, files=file)