added keys

This commit is contained in:
Adrian Charkiewicz 2023-02-15 23:41:53 +01:00
parent 59f79a5d77
commit f19727b0be
2 changed files with 6 additions and 6 deletions

View File

@ -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)

10
main.py
View File

@ -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(