diff --git a/index.html b/index.html index 77d9817..edfcb5a 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ var data = new FormData() data.append('file', document.getElementById("docpicker").files[0]) document.getElementById("result").innerHTML = "Proszę chwilę poczekać, zaraz wypluje info o fakturze :)" - resp = await fetch('http://34.207.94.103:80/invoice', {method: "POST", body: data}) + resp = await fetch('http://3.237.77.192:80/invoice', {method: "POST", body: data}) document.getElementById("result").innerHTML = "Info" data = await resp.json() var result = JSON.stringify(data) diff --git a/main.py b/main.py index fb03227..342ccf4 100644 --- a/main.py +++ b/main.py @@ -1,8 +1,8 @@ -aws_access_key_id="" -aws_secret_access_key="" -aws_session_token="" -VPC="" -ID="" +aws_access_key_id="ASIAU4L5KLEFSP6FOOLG" +aws_secret_access_key="vY71L9BH8Isww6nsQ4tF2GY3ZrLQxr4hX7pDKmhk" +aws_session_token="FwoGZXIvYXdzEK///////////wEaDNupV+wlQCQ0NmJWYCLDAXyNNYq+gG1p1foTZsgvtNRHojPI7PoEa6rLn0FK6q6YKmaHuHNY1/DwxYjrIjo44Kr40TQMMtd+CZqiRbJ/c6ugwEWsggZgVaqu8/7x/PxIagql6iVeYBGQTmUwquOf7DX6arYINV3LKu2B5JM+h4lOiCxVzlFnJmqohZbvXrtSmnR9j7Rh9VWudR+Nxb/CAdrbS+IpyNodCUeO68ybBIoWAGwvs/jr14Iu445tgbf7pywUphWwxu3nRWmsNqMYGqH/FSj7oLWfBjItdC0SlP5O6h1lYpE60/6o0Gl9NQwq/+zOov/XJIApoaVx1WrqFWhgG+7YB55h" +VPC="vpc-00ef1e6f4c6ce135c" +ID="s444354" import boto3 ec2 = boto3.resource(