will you work this time
This commit is contained in:
parent
eeaba9f39c
commit
7e93017a70
@ -7,6 +7,6 @@ cd saas-chmurki
|
||||
sudo yum install docker -y
|
||||
sudo service docker start
|
||||
sudo usermod -a -G docker ec2-user
|
||||
sudo docker build -t invoice .
|
||||
sudo docker run -d -p 80:8000 -t invoice
|
||||
docker build -t invoice .
|
||||
docker run -d -p 80:8000 -t invoice
|
||||
'''
|
@ -6,7 +6,7 @@
|
||||
var data = new FormData()
|
||||
data.append('file', document.getElementById("docpicker").files[0])
|
||||
document.getElementById("result").innerHTML = "Fetching..."
|
||||
resp = await fetch('http://54.205.36.47:80/invoice', {method: "POST", body: data})
|
||||
resp = await fetch('http://54.205.141.226:80/invoice', {method: "POST", body: data})
|
||||
document.getElementById("result").innerHTML = "Fetched..."
|
||||
data = await resp.json()
|
||||
var result = JSON.stringify(data)
|
||||
|
Loading…
Reference in New Issue
Block a user