Skip to content

Commit

Permalink
Merge pull request #42 from ResilientApp/envFix
Browse files Browse the repository at this point in the history
Env fix
  • Loading branch information
Saipranav-Kotamreddy authored May 29, 2024
2 parents b2a8536 + f22a912 commit 6d7247d
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@
"static/media/defaultProfileImage.png": "/static/media/defaultProfileImage.6c9586e38b84a1d6a118.png",
"index.html": "/index.html",
"main.a663b81a.css.map": "/static/css/main.a663b81a.css.map",
<<<<<<< HEAD
"main.2bb9b2d3.js.map": "/static/js/main.2bb9b2d3.js.map",
=======
"main.2b87a889.js.map": "/static/js/main.2b87a889.js.map",
>>>>>>> main
"1927.8bd9ca2b.chunk.js.map": "/static/js/1927.8bd9ca2b.chunk.js.map",
"7590.4eeecba0.chunk.js.map": "/static/js/7590.4eeecba0.chunk.js.map",
"6725.7c418f57.chunk.js.map": "/static/js/6725.7c418f57.chunk.js.map",
Expand Down Expand Up @@ -145,6 +149,10 @@
},
"entrypoints": [
"static/css/main.a663b81a.css",
<<<<<<< HEAD
"static/js/main.2bb9b2d3.js"
=======
"static/js/main.2b87a889.js"
>>>>>>> main
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="manifest" href="/site.webmanifest"><meta name="msapplication-TileColor" content="#da532c"><meta name="theme-color" content="#ffffff"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A visualizer for ResilientDb for DDS 265 Distributed Data Systems"/><meta name="author" description="aunshx"/><link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css"/><title>ResView</title><script defer="defer" src="/static/js/main.2b87a889.js"></script><link href="/static/css/main.a663b81a.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="https://unpkg.com/aos@next/dist/aos.js"></script><script>AOS.init({delay:0,duration:600,offset:10})</script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"><link rel="manifest" href="/site.webmanifest"><meta name="msapplication-TileColor" content="#da532c"><meta name="theme-color" content="#ffffff"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A visualizer for ResilientDb for DDS 265 Distributed Data Systems"/><meta name="author" description="aunshx"/><link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css"/><title>ResView</title><script defer="defer" src="/static/js/main.a716f215.js"></script><link href="/static/css/main.a663b81a.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script src="https://unpkg.com/aos@next/dist/aos.js"></script><script>AOS.init({delay:0,duration:600,offset:10})</script></body></html>
1 change: 0 additions & 1 deletion build/static/js/main.2b87a889.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/js/main.a716f215.js.map

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/Components/Pages/Visualizer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ const Visualizer = () => {
//let port= parseInt(18501)+i
let port= parseInt(22501)+i
let url = "http://localhost:" + String(port) + "/get_status"
if(i==2){
url = "http://54.208.98.67:" + String(port) + "/get_status"
}

let promise = fetchWithTimeout(url)
.then(response => {
return response.text();
Expand Down

0 comments on commit 6d7247d

Please sign in to comment.