Skip to content

Commit ff3e2ec

Browse files
authored
Update index.js
Renamed document.title from frontend to reverse proxy
1 parent c2071ff commit ff3e2ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reverse proxy/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
window.onload = () => {
22
// microservice1 - Books
3-
const microservicePort = { 3000: 'Frontend', 4545: 'Books', 7777: 'Orders', 5555: 'Customers' };
3+
const microservicePort = { 3000: 'Reverse Proxy', 4545: 'Books', 7777: 'Orders', 5555: 'Customers' };
44
// sets the title of the page to whatever port you're currently on
55
document.title = microservicePort[window.location.port];
66
// create a display that when clicked will grab the books passed in

0 commit comments

Comments
 (0)