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 } -