diff --git a/main.py b/main.py index e421904..8b18951 100644 --- a/main.py +++ b/main.py @@ -7,7 +7,7 @@ from credentials import ( DEFAULT_VPC ) -PREFIX = 'sassy' +PREFIX = 'website' if __name__ == '__main__': ec2 = boto3.resource( diff --git a/web/index.html b/web/index.html index 7080ddc..ceaced4 100644 --- a/web/index.html +++ b/web/index.html @@ -6,17 +6,19 @@ var data = new FormData() data.append('file', document.getElementById("docpicker").files[0]) document.getElementById("result").innerHTML = "Fetching..." - resp = await fetch('http://54.205.141.226:80/invoice', {method: "POST", body: data}) + resp = await fetch('http://35.174.213.220:80/invoice', {method: "POST", body: data}) document.getElementById("result").innerHTML = "Fetched..." data = await resp.json() var result = JSON.stringify(data) document.getElementById("result").innerHTML = result } - Makaron + Chmurki chmurki

+ Me na chmurkach + If you were a triangle, you'd be acute one \ No newline at end of file diff --git a/web/website-bucket-policy.json b/web/website-bucket-policy.json index 58a0645..0e68bb6 100644 --- a/web/website-bucket-policy.json +++ b/web/website-bucket-policy.json @@ -1,13 +1,13 @@ { "Id": "MyPolicy", - "Version": "2023-01-22", + "Version": "2023-01-29", "Statement": [ { "Sid": "PublicReadForGetBucketObjects", "Effect": "Allow", "Principal": "*", "Action": "s3:GetObject", - "Resource": "arn:aws:s3:::443930-bucket/*" + "Resource": "arn:aws:s3:::chmurkisaast/*" } ] } \ No newline at end of file