Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion micro-service-starter/docker_code/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
ui:
build: ./ui-web-app-reactjs
ports:
- 8080:8081
- 8080:8080

zuul:
build: ./zuul-api-gateway
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const App = () => {
const [displayData, setDisplayData] = useState({url:''})

const handleApiCall = async (e) => {
const url = 'http://35.184.122.175:9999/'+e.target.name;
const url = 'http://52.201.218.99:9999/'+e.target.name;
displayData.url=url
let options = {}
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ zuul:
routes:
offer:
path: /offer/**
url: http://35.184.122.175:1001/api/v1
url: http://52.201.218.99:1001/api/v1
shoe:
path: /shoe/**
url: http://35.184.122.175:1002/api/v1
url: http://52.201.218.99:1002/api/v1
wishlist:
path: /wishlist/**
url: http://35.184.122.175:1003
url: http://52.201.218.99:1003
cart:
path: /cart/**
url: http://35.184.122.175:1004/api/v1
url: http://52.201.218.99:1004/api/v1